There was an error while loading. Please reload this page.
1 parent b1263d5 commit 3029035Copy full SHA for 3029035
1 file changed
Modules/getpath.c
@@ -761,7 +761,7 @@ calculate_program_full_path(const PyConfig *config,
761
* absolutize() should help us out below
762
*/
763
else if(0 == _NSGetExecutablePath(execpath, &nsexeclength) &&
764
- _Py_isabs(execpath))
+ (wchar_t)execpath[0] == SEP)
765
{
766
size_t len;
767
wchar_t *path = Py_DecodeLocale(execpath, &len);
0 commit comments