Message252681
The Windows launcher searches PATH to implement the shebang "#!/usr/bin/env". Given "#!/usr/bin/env python", it always searches for L"python" (see issue 17903), even in pyw.exe. maybe_handle_shebang in PC/launcher.c should instead use a macro that's conditionally defined as L"pythonw" when building pyw.exe and L"python" when building py.exe. This parallels the existing PYTHON_EXECUTABLE macro. |
|
Date |
User |
Action |
Args |
2015-10-10 03:21:46 | eryksun | set | recipients:
+ eryksun, paul.moore, tim.golden, zach.ware, steve.dower |
2015-10-10 03:21:46 | eryksun | set | messageid: <1444447306.1.0.629967628506.issue25360@psf.upfronthosting.co.za> |
2015-10-10 03:21:45 | eryksun | link | issue25360 messages |
2015-10-10 03:21:45 | eryksun | create | |
|