summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2013-07-06 11:20:57 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2013-07-06 11:20:57 (GMT)
commitfd1c69e2a497f685374caa1133c47fa51e8030e5 (patch)
treebe34ea61e3ff885218698ce92a2c465e172a9fb9
parentd9e7c86d7e0593c13155c1b6c47c4e64fdbc39ac (diff)
downloadcpython-fd1c69e2a497f685374caa1133c47fa51e8030e5.zip
cpython-fd1c69e2a497f685374caa1133c47fa51e8030e5.tar.gz
cpython-fd1c69e2a497f685374caa1133c47fa51e8030e5.tar.bz2
Issue #12990: The "Python Launcher" on OSX could not launch python scripts that have paths that include wide characters.
-rwxr-xr-xMac/PythonLauncher/MyDocument.m2
-rw-r--r--Misc/NEWS3
2 files changed, 4 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 {
diff --git a/Misc/NEWS b/Misc/NEWS
index a1f3084..f431adf 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -188,6 +188,9 @@ Tools/Demos
- Issue #15239: Make mkstringprep.py work again on Python 3.
+- Issue #12990: The "Python Launcher" on OSX could not launch python scripts
+ that have paths that include wide characters.
+
Build
-----