"Trent Mick" wrote:
> George,
>
> My suspicion is that the difference is that you are using a Cygwin
> Python and it is using Un*x-style process return values. What do the
> following return for your Python.
>
> For me on Windows (with ActivePython 2.4):
> >>> import os
> >>> os.system("exit 0")
> 0
> >>> os.system("exit 1")
> 1
>
> And on Linux:
> >>> import os
> >>> os.system("exit 0")
> 0
> >>> os.system("exit 1")
> 256
Cygwin behaves exactly as Linux in this case.
> My cygwin Python is currently busted for some reason, so I can't test
it
> on my system.
>
> On Unix-y/posix-y systems the retval from a process encodes both the
> exit status and information on how the process was stopped (c.f. the
> os.WIF* methods).
>
> It would be helpful if you could log a bug for this in Komodo's bugdb
so
> we can track this and make sure it doesn't get lost:
>
> http://bugs.activestate.com/Komodo
No problem, I'll do that.
> Cheers,
> Trent
>
> --
> Trent Mick
> [EMAIL PROTECTED]
Thanks,
George
--
http://mail.python.org/mailman/listinfo/python-list