diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2015-12-26 13:10:51 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2015-12-26 13:10:51 (GMT) |
commit | a5892abf235c67cf8e75b7fcef65e6aebe701d4c (patch) | |
tree | 1bbfc0131c802e503b91498daa90dfb6e0264090 | |
parent | 9cdfd18fc6357f1fe343e815196cbe1db2a17af5 (diff) | |
download | cpython-a5892abf235c67cf8e75b7fcef65e6aebe701d4c.zip cpython-a5892abf235c67cf8e75b7fcef65e6aebe701d4c.tar.gz cpython-a5892abf235c67cf8e75b7fcef65e6aebe701d4c.tar.bz2 |
Fixes #25360: Search for pythonw.exe when in pyw.exe.
-rw-r--r-- | PC/launcher.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ path '%ls'", command); * 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); |