Removed Exception_Abort because there is no windows version. Also made ExitValue consistent with windows when a signal kills the process.

This commit is contained in:
Brad King 2003-06-18 17:19:44 -04:00
parent f5bbacaa5c
commit 5b6920ed16
1 changed files with 0 additions and 4 deletions

View File

@ -620,14 +620,10 @@ int kwsysProcess_WaitForExit(kwsysProcess* cp, double* userTimeout)
#endif #endif
#ifdef SIGINT #ifdef SIGINT
case SIGINT: cp->ExitException = kwsysProcess_Exception_Interrupt; break; case SIGINT: cp->ExitException = kwsysProcess_Exception_Interrupt; break;
#endif
#ifdef SIGABRT
case SIGABRT: cp->ExitException = kwsysProcess_Exception_Abort; break;
#endif #endif
default: cp->ExitException = kwsysProcess_Exception_Other; break; default: cp->ExitException = kwsysProcess_Exception_Other; break;
} }
cp->ExitCode = status; cp->ExitCode = status;
cp->ExitValue = (int)WTERMSIG(status);
} }
else else
{ {