ENH: Added exception string to abnormal termination report.

This commit is contained in:
Brad King 2004-01-28 10:59:22 -05:00
parent 305e972df3
commit e27ad7eb97
1 changed files with 2 additions and 1 deletions

View File

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