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

This commit is contained in:
R David Murray 2015-09-04 10:01:19 -04:00
parent 4fda56f44b
commit 17227a7334
1 changed files with 1 additions and 1 deletions

View File

@ -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: