Boost logo

Boost Users :

Subject: [Boost-users] [process]distinguish normal exit from signaled not possible?
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2018-12-17 14:39:50

I'm evaluating boost.process. It seams to me that it is impossible to
distinguish a normal exit from a termination by a signal (for instance
SIGBUS etc.).
child::exit_code() calls eval_exit_status() that expands on POSIX to:
if (WIFEXITED(code)) {
return WEXITSTATUS(code);
} else if (WIFSIGNALED(code))






Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at