mirror of https://github.com/python/cpython.git
#24998: fix cut and paste error in subprocess example.
This commit is contained in:
parent
4fda56f44b
commit
17227a7334
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue