system return status on Windows

Milos Prudek prudek at
Thu Feb 24 08:51:28 EST 2000

I cannot get nonzero status from os.system() call in MS Windows.

Like this: 

print os.system('arj a test nonexistent_file')

I have verified that errorlevel is raised, but it's never passed back to

Python 1.5.2, Pythonwin, Win98.

Milos Prudek

More information about the Python-list mailing list