commit | a5892abf235c67cf8e75b7fcef65e6aebe701d4c | [log] [tgz] |
---|---|---|
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | Sat Dec 26 13:10:51 2015 +0000 |
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | Sat Dec 26 13:10:51 2015 +0000 |
tree | 1bbfc0131c802e503b91498daa90dfb6e0264090 | |
parent | 9cdfd18fc6357f1fe343e815196cbe1db2a17af5 [diff] [blame] |
Fixes #25360: Search for pythonw.exe when in pyw.exe.
diff --git a/PC/launcher.c b/PC/launcher.c index 121aa5b..deaf325 100644 --- 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);