From: Ronald Oussoren Date: Sat, 6 Jul 2013 11:20:57 +0000 (+0200) Subject: Issue #12990: The "Python Launcher" on OSX could not launch python scripts that have... X-Git-Tag: v3.4.0a1~323^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fd1c69e2a497f685374caa1133c47fa51e8030e5;p=thirdparty%2FPython%2Fcpython.git Issue #12990: The "Python Launcher" on OSX could not launch python scripts that have paths that include wide characters. --- diff --git a/Mac/PythonLauncher/MyDocument.m b/Mac/PythonLauncher/MyDocument.m index 86112c4b15d4..8f851e74e301 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 a1f30847fec0..f431adf3afdd 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 -----