process: Implement a queue for repeatedly attempting to reap orphaned processes

This commit is contained in:
Ivan Petkov
2019-06-24 16:57:20 -07:00
parent fc15d7d4a4
commit ecaa069f0f
5 changed files with 220 additions and 9 deletions
+7
View File
@@ -162,6 +162,13 @@ extern crate futures;
extern crate tokio_io;
extern crate tokio_reactor;
#[cfg(unix)]
#[macro_use]
extern crate lazy_static;
#[cfg(unix)]
#[macro_use]
extern crate log;
use std::io::{self, Read, Write};
use std::process::{Command, ExitStatus, Output, Stdio};