summaryrefslogtreecommitdiffstats
path: root/Lib/subprocess.py
diff options
context:
space:
mode:
authorBrian Curtin <brian@python.org>2011-04-29 21:14:55 (GMT)
committerBrian Curtin <brian@python.org>2011-04-29 21:14:55 (GMT)
commitb8f8b4e54b42b2e9b007569836c34cc5fec32910 (patch)
treea4755407b1341df367d331ee75f5a70c155c5184 /Lib/subprocess.py
parent82710c594b578a3da57e63437ef5fe346ef0f4a7 (diff)
parent08fd8d93f75a265058b9fa6cc8e757490f4ee3dc (diff)
downloadcpython-b8f8b4e54b42b2e9b007569836c34cc5fec32910.zip
cpython-b8f8b4e54b42b2e9b007569836c34cc5fec32910.tar.gz
cpython-b8f8b4e54b42b2e9b007569836c34cc5fec32910.tar.bz2
merge
Diffstat (limited to 'Lib/subprocess.py')
-rw-r--r--Lib/subprocess.py11
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: