Commit bda9bd1d authored by R David Murray's avatar R David Murray

#24998: fix cut and paste error in subprocess example.

parent 99c1a6d5
......@@ -852,7 +852,7 @@ Return code handling translates as follows::
if rc is not None and rc >> 8:
print "There were some errors"
==>
process = Popen("cmd", 'w', shell=True, stdin=PIPE)
process = Popen("cmd", shell=True, stdin=PIPE)
...
process.stdin.close()
if process.wait() != 0:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment