diff --git a/PC/launcher.c b/PC/launcher.c index 02cd9b99e6d7..b379a383c16e 100644 --- a/PC/launcher.c +++ b/PC/launcher.c @@ -1255,7 +1255,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""); if (cmd) { debug(L"located python on PATH: %ls\n", cmd->value);