On Aug 8, 2:35 pm, Arnau Sanchez <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] escribió:
>
> > That's just the exit status or run status, if I recall correctly. I
> > think 0 (i.e. False) means it didn't run properly and anything else is
> > True, or ok. Something like that.
>
> The other way: 0 means "ok" while everything else means error (at least in
> UNIX). The reason is clear: there is usually only one way to do things well, 
> but
> many to fail :-)
>
> > Technically speaking, you should
> > probably switch to using the subprocess module as it is replacing that
> > os module's 
> > functionality:http://www.python.org/doc/2.4/lib/module-subprocess.html
>
> Correct, subprocess replaces low-level os.system, os.popen*, os.spawn*, popen*
> functions.

Figures...I couldn't find the docs on it though...and I do know that
some Windows programs return goofy numbers in the 1000s that mean it
worked fine. So, in other words, the return value isn't very helpful.

Mike

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to