This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: PythonLauncher app fails run scripts on Mac BigSur
Type: behavior Stage: resolved
Components: macOS Versions: Python 3.11, Python 3.10, Python 3.9
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Python Launcher app on macOS 10.15+ fails to run scripts
View: 40477
Assigned To: Nosy List: gnvirgutto1990, ned.deily, ronaldoussoren
Priority: normal Keywords:

Created on 2021-11-01 23:09 by gnvirgutto1990, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg405475 - (view) Author: giancarlo niccolo virgutto (gnvirgutto1990) Date: 2021-11-01 23:09
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.

Is this a bug with BigSur, or what is to be done?
msg405477 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2021-11-02 01:52
Thank you for the issue and the reminder. Unfortunately, you are running into a problem with the Python Launcher as documented in open Issue40477, 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.
History
Date User Action Args
2022-04-11 14:59:51adminsetgithub: 89848
2021-11-02 01:52:55ned.deilysetstatus: open -> closed

type: crash -> behavior
versions: + Python 3.9, Python 3.11
messages: + msg405477
superseder: Python Launcher app on macOS 10.15+ fails to run scripts
resolution: duplicate
stage: resolved
2021-11-01 23:09:44gnvirgutto1990settitle: PuthonLauncher app fails run scripts on Mac BigSur -> PythonLauncher app fails run scripts on Mac BigSur
2021-11-01 23:09:34gnvirgutto1990create