]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #12990: The "Python Launcher" on OSX could not launch python scripts that have...
authorRonald Oussoren <ronaldoussoren@mac.com>
Sat, 6 Jul 2013 11:20:57 +0000 (13:20 +0200)
committerRonald Oussoren <ronaldoussoren@mac.com>
Sat, 6 Jul 2013 11:20:57 +0000 (13:20 +0200)
Mac/PythonLauncher/MyDocument.m
Misc/NEWS

index 86112c4b15d4740ca1c50611409237f9ddcca2d0..8f851e74e301a00a1ed2296a7be57f9cdfaa2d8c 100755 (executable)
@@ -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 {
index a1f30847fec02acee750320a219659b868b8fd0c..f431adf3afdd1d8a43ff7591a6f997fe47fd172a 100644 (file)
--- 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
 -----