[New-bugs-announce] [issue16548] os.system won't run any command and there is no error message when memory cannot be allocated

masterid report at bugs.python.org
Sat Nov 24 23:04:13 CET 2012


New submission from masterid:

os.system won't run any command and there is no error message when memory cannot be allocated.

It looks like Python is running a command but actually nothing happens.

I used subprocess.Popen instead and found out that
OSError: [Errno 12] Cannot allocate memory

I also tried gc.collect() to release memory, but it does not work.

----------
components: Extension Modules
messages: 176321
nosy: masterid
priority: normal
severity: normal
status: open
title: os.system won't run any command and there is no error message when memory cannot be allocated
type: behavior
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16548>
_______________________________________


More information about the New-bugs-announce mailing list