This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Paul Clarke
Recipients Paul Clarke, docs@python
Date 2015-09-04.05:11:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441343514.48.0.676306018011.issue24998@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-09-04 05:11:54Paul Clarkesetrecipients: + Paul Clarke, docs@python
2015-09-04 05:11:54Paul Clarkesetmessageid: <1441343514.48.0.676306018011.issue24998@psf.upfronthosting.co.za>
2015-09-04 05:11:54Paul Clarkelinkissue24998 messages
2015-09-04 05:11:54Paul Clarkecreate