Sujet : Re: Crash when launching python
De : greg.ewing (at) *nospam* canterbury.ac.nz (Greg Ewing)
Groupes : comp.lang.pythonDate : 05. Sep 2024, 02:25:08
Autres entêtes
Message-ID : <ljsfjmF5sa2U1@mid.individual.net>
References : 1 2 3
User-Agent : Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:91.0) Gecko/20100101 Thunderbird/91.3.2
On 5/09/24 7:48 am, Barry Scott wrote:
Beware that you cannot use print to stdout for a .app as its stdin/stdout do not go anywhere useful.
You can invoke the executable inside the package from the Terminal.
Normally it's in the <appname>.app/Contents/MacOS subdirectory. The name
varies, but there's usually just one executable file in there. Run that
from a shell and you should see anything written to stdout or stderr.
-- Greg