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

#1346547

 added basic error checking to the STARTUPINFO code
 in CreateProcess.
This commit is contained in:
Fredrik Lundh 2005-11-12 10:15:14 +00:00
parent bb4692b6f2
commit 3a49e92d7d

View file

@ -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 {