ecore win32: modifiy to better meaningful exception.

This commit is contained in:
ChunEon Park 2015-08-29 16:46:22 +09:00
parent eab2b5af84
commit 0647f68770
1 changed files with 2 additions and 3 deletions

View File

@ -376,6 +376,8 @@ _impl_ecore_exe_eo_base_finalize(Eo *obj, Ecore_Exe_Data *exe)
DBG("Creating process %s", exe_cmd);
Ecore_Exe_Flags flags = exe->flags;
if (!exe_cmd) goto error;
if ((flags & ECORE_EXE_PIPE_AUTO) && (!(flags & ECORE_EXE_PIPE_ERROR))
&& (!(flags & ECORE_EXE_PIPE_READ)))
/* We need something to auto pipe. */
@ -411,9 +413,6 @@ _impl_ecore_exe_eo_base_finalize(Eo *obj, Ecore_Exe_Data *exe)
exe_cmd_buf[sizeof(exe_cmd_buf) - 1] = '\0';
}
if (!exe->cmd)
goto error;
/* stdout, stderr and stdin pipes */
sa.nLength = sizeof(SECURITY_ATTRIBUTES);