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@python
components: Documentation
messages: 249716
nosy: Paul Clarke, docs@python
priority: normal
severity: normal
status: open
title: docs: subprocess.Popen example has extra/invalid parameter
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24998>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to