You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bpo-40477: Python Launcher app on macOS 10.15+ fails to run scripts
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2021-11-02.01:52:55.630>created_at=<Date2021-11-01.23:09:34.125>labels= ['OS-mac', 'type-bug', '3.9', '3.10', '3.11']
title='PythonLauncher app fails run scripts on Mac BigSur'updated_at=<Date2021-11-02.01:52:55.629>user='https://bugs.python.org/gnvirgutto1990'
I can’t figure out how to use Python Launcher on BigSur. Or it is broken. Anyway: It does absolutely nothing. When I double click a script file, I see very shortly the preferences window of Launcher, and this is all. The script is not executed. I made a very simple script which writes a small text file. The script works flawlessly, when I call it in the terminal, but the Launcher seems not even to open it.
gnvirgutto1990mannequin
changed the title
PuthonLauncher app fails run scripts on Mac BigSur
PythonLauncher app fails run scripts on Mac BigSur
Nov 1, 2021
gnvirgutto1990mannequin
changed the title
PuthonLauncher app fails run scripts on Mac BigSur
PythonLauncher app fails run scripts on Mac BigSur
Nov 1, 2021
Thank you for the issue and the reminder. Unfortunately, you are running into a problem with the Python Launcher as documented in open bpo-40477, a problem that has slipped off my radar. Due to changes in macOS 10.15 Catalina and still present in 11 Big Sur, the Python Launcher is no longer able to successfully launch the Terminal app so the scripts are never executed. As described in msg368819 there, there is a simple workaround: just ensure that the Terminal app is already launched before trying to use the Python Launcher.
ned-deily
added
type-bug
An unexpected behavior, bug, or error
3.9
only security fixes
3.11
only security fixes
and removed
type-crash
A hard crash of the interpreter, possibly with a core dump
labels
Nov 2, 2021
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: