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:

[EMAIL PROTECTED] ~/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...

[EMAIL PROTECTED] ~/Projects/Python
$ /usr/bin/python test03.py

[EMAIL PROTECTED] ~/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.

[EMAIL PROTECTED] ~]$ python aspn-threading-tkinter.py
[EMAIL PROTECTED] ~]$ echo $?
0
[EMAIL PROTECTED] ~]$


--
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/

Reply via email to