Kaydet (Commit) 3a49e92d authored tarafından Fredrik Lundh's avatar Fredrik Lundh

r858@spiff: Fredrik | 2005-11-10 23:40:04 +0100

 #1346547

 added basic error checking to the STARTUPINFO code
 in CreateProcess.
üst bb4692b6
......@@ -385,6 +385,9 @@ sp_CreateProcess(PyObject* self, PyObject* args)
si.hStdOutput = gethandle(startup_info, "hStdOutput");
si.hStdError = gethandle(startup_info, "hStdError");
if (PyErr_Occurred())
return NULL;
if (env_mapping == Py_None)
environment = NULL;
else {
......
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