Message249716
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. |
|
Date |
User |
Action |
Args |
2015-09-04 05:11:54 | Paul Clarke | set | recipients:
+ Paul Clarke, docs@python |
2015-09-04 05:11:54 | Paul Clarke | set | messageid: <1441343514.48.0.676306018011.issue24998@psf.upfronthosting.co.za> |
2015-09-04 05:11:54 | Paul Clarke | link | issue24998 messages |
2015-09-04 05:11:54 | Paul Clarke | create | |
|