"Fixing" os.system on Windows
Howard B. Golden
hgolden at my-deja.com
Thu Jun 1 21:08:32 EDT 2000
More information about the Python-list mailing list
Thu Jun 1 21:08:32 EDT 2000
- Previous message (by thread): "Fixing" os.system on Windows
- Next message (by thread): Two questions on embedding :)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
As explained in Hammond and Robinson's book, "Python Programming on Win32," on p. 324, and in Section 6.1.5 of the Library Reference, os.system() doesn't return the exit status of the process under Windows. Carey Evans showed a version of system() that gets the exit code under Windows in his message: http://www.python.org/pipermail/python-list/1999-May/009409.html I hope this could be adopted into the Windows part of the core Python system, so that os.system() will work the same under Windows and Unix. If there is some reason for not doing this, I'd appreciate it if someone would explain it. -- Howard B. Golden Sent via Deja.com http://www.deja.com/ Before you buy.
- Previous message (by thread): "Fixing" os.system on Windows
- Next message (by thread): Two questions on embedding :)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list