mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Merged revisions 69846 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r69846 | mark.dickinson | 2009-02-21 20:27:01 +0000 (Sat, 21 Feb 2009) | 2 lines Issue #5341: Fix a variety of spelling errors. ........
This commit is contained in:
parent
91cf882b36
commit
934896dc09
48 changed files with 83 additions and 83 deletions
|
|
@ -446,9 +446,9 @@ def check_output(*popenargs, **kwargs):
|
|||
To capture standard error in the result, use stderr=subprocess.STDOUT.
|
||||
|
||||
>>> check_output(["/bin/sh", "-c",
|
||||
"ls -l non_existant_file ; exit 0"],
|
||||
"ls -l non_existent_file ; exit 0"],
|
||||
stderr=subprocess.STDOUT)
|
||||
'ls: non_existant_file: No such file or directory\n'
|
||||
'ls: non_existent_file: No such file or directory\n'
|
||||
"""
|
||||
if 'stdout' in kwargs:
|
||||
raise ValueError('stdout argument not allowed, it will be overridden.')
|
||||
|
|
@ -850,7 +850,7 @@ class Popen(object):
|
|||
# cause random failures on win9x. Specifically a
|
||||
# dialog: "Your program accessed mem currently in
|
||||
# use at xxx" and a hopeful warning about the
|
||||
# stability of your system. Cost is Ctrl+C wont
|
||||
# stability of your system. Cost is Ctrl+C won't
|
||||
# kill children.
|
||||
creationflags |= CREATE_NEW_CONSOLE
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue