Skip to content
Snippets Groups Projects
Commit c35349f8 authored by Brad King's avatar Brad King
Browse files

Removed Exception_Abort because there is no windows version. Also made...

Removed Exception_Abort because there is no windows version.  Also made ExitValue consistent with windows when a signal kills the process.
parent 33665aec
No related branches found
No related tags found
No related merge requests found
......@@ -620,14 +620,10 @@ int kwsysProcess_WaitForExit(kwsysProcess* cp, double* userTimeout)
#endif
#ifdef SIGINT
case SIGINT: cp->ExitException = kwsysProcess_Exception_Interrupt; break;
#endif
#ifdef SIGABRT
case SIGABRT: cp->ExitException = kwsysProcess_Exception_Abort; break;
#endif
default: cp->ExitException = kwsysProcess_Exception_Other; break;
}
cp->ExitCode = status;
cp->ExitValue = (int)WTERMSIG(status);
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment