summaryrefslogtreecommitdiff
path: root/PC
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2015-12-26 13:10:51 +0000
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2015-12-26 13:10:51 +0000
commitdd0f1b11e9eb5ce781caebb3de6b4cb5f8a2428b (patch)
tree83be0f7a8e459fdc0e4dd7834bc282c5f53e9d7b /PC
parentaae8c689e5313be4cf523ab9819ca36dabd62398 (diff)
downloadcpython-dd0f1b11e9eb5ce781caebb3de6b4cb5f8a2428b.tar.gz
Fixes #25360: Search for pythonw.exe when in pyw.exe.
Diffstat (limited to 'PC')
-rw-r--r--PC/launcher.c2
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);