cpython (3.5): Fixes #25360: Search for pythonw.exe when in pyw.exe.
https://hg.python.org/cpython/rev/2af2367d7eda changeset: 99682:2af2367d7eda branch: 3.5 parent: 99680:6210b41a2394 user: Vinay Sajip <vinay_sajip@yahoo.co.uk> date: Sat Dec 26 13:10:51 2015 +0000 summary: Fixes #25360: Search for pythonw.exe when in pyw.exe. files: PC/launcher.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/PC/launcher.c b/PC/launcher.c --- a/PC/launcher.c +++ b/PC/launcher.c @@ -1254,7 +1254,7 @@ * is no version specification. */ debug(L"searching PATH for python executable\n"); - cmd = find_on_path(L"python"); + cmd = find_on_path(PYTHON_EXECUTABLE); debug(L"Python on path: %ls\n", cmd ? cmd->value : L"<not found>"); if (cmd) { debug(L"located python on PATH: %ls\n", cmd->value); -- Repository URL: https://hg.python.org/cpython
participants (1)
-
vinay.sajip