| 43 | } |
| 44 | |
| 45 | static const wchar_t* get_python_executable() { |
| 46 | const wchar_t* python_exe_w = _wgetenv(L"EMSDK_PYTHON"); |
| 47 | if (!python_exe_w) { |
| 48 | return L"python.exe"; |
| 49 | } |
| 50 | return python_exe_w; |
| 51 | } |
| 52 | |
| 53 | // Get the name of the currently running executable (module) |
| 54 | static wchar_t* get_module_path() { |