[docs] [issue24998] docs: subprocess.Popen example has extra/invalid parameter

Paul Clarke report at bugs.python.org
Fri Sep 4 07:11:54 CEST 2015


New submission from Paul Clarke:

in "subprocess" module documentation has a section for "replacing older functions with subprocess", specifically 17.1.4.5 "replacing os.popen", which includes the example on "return code handling", specifically this line:
--
process = Popen("cmd", 'w', shell=True, stdin=PIPE)
--

That 'w' shouldn't be there.

----------
assignee: docs at python
components: Documentation
messages: 249716
nosy: Paul Clarke, docs at python
priority: normal
severity: normal
status: open
title: docs: subprocess.Popen example has extra/invalid parameter
versions: Python 2.7

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


More information about the docs mailing list