summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2013-07-06 11:19:58 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2013-07-06 11:19:58 (GMT)
commit51ee65645a0e6a9280712a49e0eff318f732dfa3 (patch)
tree730c624c14f6656af99b40cbebf6352b5c668212 /Mac
parent20d46692fc95dfa4719131a3b3ce2fdaee77f280 (diff)
downloadcpython-51ee65645a0e6a9280712a49e0eff318f732dfa3.zip
cpython-51ee65645a0e6a9280712a49e0eff318f732dfa3.tar.gz
cpython-51ee65645a0e6a9280712a49e0eff318f732dfa3.tar.bz2
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-xMac/PythonLauncher/MyDocument.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/PythonLauncher/MyDocument.m b/Mac/PythonLauncher/MyDocument.m
index 86112c4..8f851e7 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 {