Kaydet (Commit) bda9bd1d authored tarafından R David Murray's avatar R David Murray

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

üst 99c1a6d5
...@@ -852,7 +852,7 @@ Return code handling translates as follows:: ...@@ -852,7 +852,7 @@ Return code handling translates as follows::
if rc is not None and rc >> 8: if rc is not None and rc >> 8:
print "There were some errors" print "There were some errors"
==> ==>
process = Popen("cmd", 'w', shell=True, stdin=PIPE) process = Popen("cmd", shell=True, stdin=PIPE)
... ...
process.stdin.close() process.stdin.close()
if process.wait() != 0: 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