summaryrefslogtreecommitdiffstats
path: root/PC/launcher.c
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2015-12-26 13:11:38 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2015-12-26 13:11:38 (GMT)
commit40005a7807bf2140d045c2bb8b4ef8af1e4770a0 (patch)
treeab0baed47e37226033d391bdc1cf654f380fc764 /PC/launcher.c
parentc1681674d41e7acc50e76e39fefcfe4d3ac90073 (diff)
parenta5892abf235c67cf8e75b7fcef65e6aebe701d4c (diff)
downloadcpython-40005a7807bf2140d045c2bb8b4ef8af1e4770a0.zip
cpython-40005a7807bf2140d045c2bb8b4ef8af1e4770a0.tar.gz
cpython-40005a7807bf2140d045c2bb8b4ef8af1e4770a0.tar.bz2
Closes #25360: Merged fix from 3.5.
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 02cd9b9..b379a38 100644
--- a/PC/launcher.c
+++ b/PC/launcher.c
@@ -1255,7 +1255,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);