2
0
mirror of https://github.com/boostorg/process.git synced 2026-01-19 16:32:15 +00:00

Compare commits

...

1 Commits

Author SHA1 Message Date
Klemens Morgenstern
3ad4fd3ccf zombie reap fix. 2023-08-14 18:00:55 +08:00

View File

@@ -445,7 +445,7 @@ child executor<Sequence>::invoke(boost::mpl::false_, boost::mpl::false_)
if (_ec)
{
//if an error occurred we need to reap the child process
::waitpid(this->pid, nullptr, WNOHANG);
::waitpid(this->pid, nullptr, 0);
boost::fusion::for_each(seq, call_on_error(*this, _ec));
return child();
}