mirror of
https://github.com/python/cpython.git
synced 2025-11-08 05:39:34 +00:00
Fixes #25360: Search for pythonw.exe when in pyw.exe.
This commit is contained in:
parent
9cdfd18fc6
commit
a5892abf23
1 changed files with 1 additions and 1 deletions
|
|
@ -1254,7 +1254,7 @@ path '%ls'", command);
|
||||||
* is no version specification.
|
* is no version specification.
|
||||||
*/
|
*/
|
||||||
debug(L"searching PATH for python executable\n");
|
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>");
|
debug(L"Python on path: %ls\n", cmd ? cmd->value : L"<not found>");
|
||||||
if (cmd) {
|
if (cmd) {
|
||||||
debug(L"located python on PATH: %ls\n", cmd->value);
|
debug(L"located python on PATH: %ls\n", cmd->value);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue