diff options
author | Brian Curtin <brian@python.org> | 2011-04-29 21:14:55 (GMT) |
---|---|---|
committer | Brian Curtin <brian@python.org> | 2011-04-29 21:14:55 (GMT) |
commit | b8f8b4e54b42b2e9b007569836c34cc5fec32910 (patch) | |
tree | a4755407b1341df367d331ee75f5a70c155c5184 /Lib/subprocess.py | |
parent | 82710c594b578a3da57e63437ef5fe346ef0f4a7 (diff) | |
parent | 08fd8d93f75a265058b9fa6cc8e757490f4ee3dc (diff) | |
download | cpython-b8f8b4e54b42b2e9b007569836c34cc5fec32910.zip cpython-b8f8b4e54b42b2e9b007569836c34cc5fec32910.tar.gz cpython-b8f8b4e54b42b2e9b007569836c34cc5fec32910.tar.bz2 |
merge
Diffstat (limited to 'Lib/subprocess.py')
-rw-r--r-- | Lib/subprocess.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Lib/subprocess.py b/Lib/subprocess.py index e4bb78e..ad36223 100644 --- a/Lib/subprocess.py +++ b/Lib/subprocess.py @@ -435,8 +435,15 @@ __all__ = ["Popen", "PIPE", "STDOUT", "call", "check_call", "getstatusoutput", "getoutput", "check_output", "CalledProcessError", "DEVNULL"] if mswindows: - from _subprocess import CREATE_NEW_CONSOLE, CREATE_NEW_PROCESS_GROUP - __all__.extend(["CREATE_NEW_CONSOLE", "CREATE_NEW_PROCESS_GROUP"]) + from _subprocess import (CREATE_NEW_CONSOLE, CREATE_NEW_PROCESS_GROUP, + STD_INPUT_HANDLE, STD_OUTPUT_HANDLE, + STD_ERROR_HANDLE, SW_HIDE, + STARTF_USESTDHANDLES, STARTF_USESHOWWINDOW) + + __all__.extend(["CREATE_NEW_CONSOLE", "CREATE_NEW_PROCESS_GROUP", + "STD_INPUT_HANDLE", "STD_OUTPUT_HANDLE", + "STD_ERROR_HANDLE", "SW_HIDE", + "STARTF_USESTDHANDLES", "STARTF_USESHOWWINDOW"]) try: MAXFD = os.sysconf("SC_OPEN_MAX") except: |