Skip to content

Commit fd1c69e

Browse files
Issue #12990: The "Python Launcher" on OSX could not launch python scripts that have paths that include wide characters.
1 parent d9e7c86 commit fd1c69e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Mac/PythonLauncher/MyDocument.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ - (BOOL)run
7676
const char *cmdline;
7777
int sts;
7878

79-
cmdline = [[settings commandLineForScript: script] cString];
79+
cmdline = [[settings commandLineForScript: script] UTF8String];
8080
if ([settings with_terminal]) {
8181
sts = doscript(cmdline);
8282
} else {

Misc/NEWS

+3
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,9 @@ Tools/Demos
188188

189189
- Issue #15239: Make mkstringprep.py work again on Python 3.
190190

191+
- Issue #12990: The "Python Launcher" on OSX could not launch python scripts
192+
that have paths that include wide characters.
193+
191194
Build
192195
-----
193196

0 commit comments

Comments
 (0)