Commit 17227a73 authored by R David Murray's avatar R David Murray

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

parent 4fda56f4
......@@ -1000,7 +1000,7 @@ Return code handling translates as follows::
if rc is not None and rc >> 8:
print("There were some errors")
==>
process = Popen(cmd, 'w', stdin=PIPE)
process = Popen(cmd, 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