7 #define FATAL "except: fatal: "
17 strerr_die1x(100,"except: usage: except program [ arg ... ]");
21 strerr_die2sys(111,FATAL,"unable to fork: ");
23 execvp(argv[1],argv + 1);
24 if (error_temp(errno)) _exit(111);
28 if (wait_pid(&wstat,pid) == -1)
29 strerr_die2x(111,FATAL,"wait failed");
30 if (wait_crashed(wstat))
31 strerr_die2x(111,FATAL,"child crashed");
32 switch(wait_exitcode(wstat)) {
34 case 111: strerr_die2x(111,FATAL,"temporary child error");