[Tutor] so.system() return values

Tim Johnson tim@johnsons-web.com
Thu Jun 12 23:51:01 2003


Hello all:
    I am using os.system to execute shell commands on
Linux 2.4.7-10 (RH 7.2). Implementation will be on 
RH 9.0 server.

It appears from tests that os.system(cmd) returns a
0 if successful and non-zero if not. This would be
consistant with C system() call.

Am I correct? Are there any gotchas? Is there documentation
that I can be pointed to?
-- 
Tim Johnson <tim@johnsons-web.com>
      http://www.alaska-internet-solutions.com
      http://www.johnsons-web.com