Marty <[EMAIL PROTECTED]> writes:
> I need to catch exceptions thrown by programs started by the os.system
> function, as indicated by a non-zero return code (e.g. the mount
> utility).
That's not an exception. It's referred to as an "exit status" or
(often) some short form or variation of that t
En Tue, 01 Jan 2008 20:57:44 -0200, Marty <[EMAIL PROTECTED]> escribi�:
> I need to catch exceptions thrown by programs started by the os.system
> function,
> as indicated by a non-zero return code (e.g. the mount utility). For
Notice that these are two different things. You can wait until the
I need to catch exceptions thrown by programs started by the os.system
function,
as indicated by a non-zero return code (e.g. the mount utility). For example,
if I get the following results in a bash shell:
$mount test
mount: can't find /home/marty/test in /etc/fstab or /etc/mtab
then I want