[docs] [issue19060] docs: note that subprocess doesn't replace os.exec*
anatoly techtonik
report at bugs.python.org
Sat Sep 21 09:29:55 CEST 2013
New submission from anatoly techtonik:
I always thought that subprocess is replacing all other methods of executing external programs from Python and it is a preferred way. Perhaps I was not attentive that people isolate:
os.system
os.spawn*
os.popen*
and
os.exec*
While subprocess replaces three first, it doesn't do this with the last one. The documentation should mention this in the header block. Proposed edit:
...
replace several other, older modules and functions, such as:
os.system
os.spawn*
os.popen*
popen2.*
commands.*
+ Note that it doesn't replace other ways of executing external
+ processes from Python, such as:
+
+ os.exec*
Information about how the subprocess module can be used
...
----------
assignee: docs at python
components: Documentation
messages: 198188
nosy: docs at python, techtonik
priority: normal
severity: normal
status: open
title: docs: note that subprocess doesn't replace os.exec*
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19060>
_______________________________________
More information about the docs
mailing list