delorie.com/archives/browse.cgi | search |
Larry Hall (Cygwin) wrote: > Steve Holden wrote: >> Igor Peshansky wrote: >>> On Wed, 5 Sep 2007, Steve Holden wrote: >>> >>>>>> Running the example on the above Python system I just see the >>>>>> command >>>>>> prompt return with no program output whatsoever: >>>>>> >>>>>> sholden AT bigboy ~/Projects/Python >>>>>> $ /usr/bin/python test03.py >>>>> So it fails, but doesn't bring up the exception dialog. >>>> That's right: nothing at all. But note I compiled this particular >>>> version >>>> myself, so I guess it's possible I didn't enable threads. >>> >>> What's the exit code? The behavior sounds suspiciously like a >>> missing DLL >>> case... >> >> sholden AT bigboy ~/Projects/Python >> $ /usr/bin/python test03.py >> >> sholden AT bigboy ~/Projects/Python >> $ echo $? >> 0 >> >> So, what does this tell us? > > > Everything is just perfect! ;-) > > The value would be non-zero if it couldn't find a needed DLL. > > I also get 0 exit code even though there is a dialog box with the application error codes mentioned before. [jim AT kleckner2 ~]$ python aspn-threading-tkinter.py [jim AT kleckner2 ~]$ echo $? 0 [jim AT kleckner2 ~]$ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |