Browse Source

Fixes #25360: Search for pythonw.exe when in pyw.exe.

pull/9921/head
Vinay Sajip 10 years ago
parent
commit
a5892abf23
  1. 2
      PC/launcher.c

2
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);

Loading…
Cancel
Save