summaryrefslogtreecommitdiffstats
path: root/PC/launcher.c
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2015-12-26 13:10:51 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2015-12-26 13:10:51 (GMT)
commita5892abf235c67cf8e75b7fcef65e6aebe701d4c (patch)
tree1bbfc0131c802e503b91498daa90dfb6e0264090 /PC/launcher.c
parent9cdfd18fc6357f1fe343e815196cbe1db2a17af5 (diff)
downloadcpython-a5892abf235c67cf8e75b7fcef65e6aebe701d4c.zip
cpython-a5892abf235c67cf8e75b7fcef65e6aebe701d4c.tar.gz
cpython-a5892abf235c67cf8e75b7fcef65e6aebe701d4c.tar.bz2
Fixes #25360: Search for pythonw.exe when in pyw.exe.
Diffstat (limited to 'PC/launcher.c')
-rw-r--r--PC/launcher.c2
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);