Commit a5892abf authored by Vinay Sajip's avatar Vinay Sajip

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

parent 9cdfd18f
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment