diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2013-07-06 13:20:57 +0200 |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2013-07-06 13:20:57 +0200 |
commit | a1deaf0ad13ef9bc996a6f5bc89cc01bcc1500c2 (patch) | |
tree | 3d5572b8576f407e13df1944cb139d7e5de97591 /Mac | |
parent | dbef7c51c2303437d3d694e372611f49917f6254 (diff) | |
download | cpython-a1deaf0ad13ef9bc996a6f5bc89cc01bcc1500c2.tar.gz |
Issue #12990: The "Python Launcher" on OSX could not launch python scripts that have paths that include wide characters.
Diffstat (limited to 'Mac')
-rwxr-xr-x | Mac/PythonLauncher/MyDocument.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/PythonLauncher/MyDocument.m b/Mac/PythonLauncher/MyDocument.m index 86112c4b15..8f851e74e3 100755 --- a/Mac/PythonLauncher/MyDocument.m +++ b/Mac/PythonLauncher/MyDocument.m @@ -76,7 +76,7 @@ const char *cmdline; int sts; - cmdline = [[settings commandLineForScript: script] cString]; + cmdline = [[settings commandLineForScript: script] UTF8String]; if ([settings with_terminal]) { sts = doscript(cmdline); } else { |