Jesús Cea Avión added the comment: If Unix system call "system()" fails, it will return -1. Python should convert a -1 to the appropiate exception, checking "errno".
In Solaris, for instance, "system()" is documented to fail if the max number of processes are reached, if the syscall was interrupted or if the OS doesn't have enough memory. Currently, python "os.system()" will signal an error returning "-1", instead of raising an exception. Python 2.6 is open only for security fixes, retargetting 2.7, 3.2, 3.3 and 3.4. Opinions? ---------- nosy: +jcea versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.4 -Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16548> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com