diff options
| author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2015-12-26 13:10:51 +0000 |
|---|---|---|
| committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2015-12-26 13:10:51 +0000 |
| commit | a5892abf235c67cf8e75b7fcef65e6aebe701d4c (patch) | |
| tree | 1bbfc0131c802e503b91498daa90dfb6e0264090 | |
| parent | 9cdfd18fc6357f1fe343e815196cbe1db2a17af5 (diff) | |
| download | cpython-git-a5892abf235c67cf8e75b7fcef65e6aebe701d4c.tar.gz | |
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 121aa5bfab..deaf325cc7 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); |
