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

ENH: Added exception string to abnormal termination report.

parent 1042841e
No related branches found
No related tags found
No related merge requests found
......@@ -142,7 +142,8 @@ int runChild(const char* cmd[], int state, int exception, int value,
case kwsysProcess_State_Killed:
printf("Child was killed by parent.\n"); break;
case kwsysProcess_State_Exception:
printf("Child terminated abnormally.\n");
printf("Child terminated abnormally: %s\n",
kwsysProcess_GetExceptionString(kp));
result = ((exception != kwsysProcess_GetExitException(kp)) ||
(value != kwsysProcess_GetExitValue(kp))); break;
case kwsysProcess_State_Error:
......
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