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

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

parents 9f5bf020 17227a73
......@@ -1068,7 +1068,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