aboutsummaryrefslogtreecommitdiff
path: root/Mac
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2013-07-06 13:25:44 +0200
committerRonald Oussoren <ronaldoussoren@mac.com>2013-07-06 13:25:44 +0200
commit361b28dbd4cbfd80bc95d1926432fabfddc0892c (patch)
tree164fc81792497baec73397bd851d6e140427af76 /Mac
parentIssue #18375: merge with 3.3 (diff)
parentIssue #12990: The "Python Launcher" on OSX could not launch python scripts th... (diff)
downloadcpython-361b28dbd4cbfd80bc95d1926432fabfddc0892c.tar.gz
cpython-361b28dbd4cbfd80bc95d1926432fabfddc0892c.tar.bz2
cpython-361b28dbd4cbfd80bc95d1926432fabfddc0892c.zip
(3.3->default) 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 86112c4b15d..8f851e74e30 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 {