]> 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:19:58 +0000 (13:19 +0200)
committerRonald Oussoren <ronaldoussoren@mac.com>
Sat, 6 Jul 2013 11:19:58 +0000 (13:19 +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 8114b696af8c16612bc32a055cbbb2e670624112..c3689e93188700f298d3d55a447786f9a081d300 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -67,6 +67,12 @@ Library
 - Issue #18113: Fixed a refcount leak in the curses.panel module's
   set_userptr() method.  Reported by Atsuo Ishimoto.
 
+Tools/Demos
+-----------
+
+- Issue #12990: The "Python Launcher" on OSX could not launch python scripts
+  that have paths that include wide characters.
+
 Build
 -----