Skip to content

Commit

Permalink
Fixes python#25360: Search for pythonw.exe when in pyw.exe.
Browse files Browse the repository at this point in the history
  • Loading branch information
vsajip committed Dec 26, 2015
1 parent 9cdfd18 commit a5892ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PC/launcher.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a5892ab

Please sign in to comment.