From a5892abf235c67cf8e75b7fcef65e6aebe701d4c Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Sat, 26 Dec 2015 13:10:51 +0000 Subject: [PATCH] Fixes #25360: Search for pythonw.exe when in pyw.exe. --- PC/launcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PC/launcher.c b/PC/launcher.c index 121aa5bfabe..deaf325cc7c 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""); if (cmd) { debug(L"located python on PATH: %ls\n", cmd->value);