Skip to content

shebang backwards compatibility #307

Description

@felixhirt

The problem: backwards compatibility with old python scripts using non-standard shebang lines is not available. Old py launcher supported such shebangs, new one cannot.
example:
python script:

#!/opt/indel/bin/indel-python2
import traceback
import time

py.ini:

[commands]
/opt/indel/bin/indel-python2=C:\indel\share\python\python27\python.exe
/opt/indel/bin/indel-pythonw2=C:\indel\share\python\python27\pythonw.exe

Could you add a way to define non-standard shebangs again? e.g. in pymanager.json a list of shebangs and target exes like in old py.ini?

Alternative: We installed py launcher again, but this is legacy

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions