Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a5892ab

Browse files
committed
Fixes #25360: Search for pythonw.exe when in pyw.exe.
1 parent 9cdfd18 commit a5892ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PC/launcher.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1254,7 +1254,7 @@ path '%ls'", command);
12541254
* is no version specification.
12551255
*/
12561256
debug(L"searching PATH for python executable\n");
1257-
cmd = find_on_path(L"python");
1257+
cmd = find_on_path(PYTHON_EXECUTABLE);
12581258
debug(L"Python on path: %ls\n", cmd ? cmd->value : L"<not found>");
12591259
if (cmd) {
12601260
debug(L"located python on PATH: %ls\n", cmd->value);

0 commit comments

Comments
 (0)