signal: rename SignalKind methods (#1457)

This renames the SignalKind constructors to be a bit more readable
instead of using the signal names themselves
This commit is contained in:
Ivan Petkov
2019-08-15 21:09:09 -07:00
committed by Carl Lerche
parent 4788d3a9e3
commit d8b23ef852
12 changed files with 27 additions and 25 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ pub(crate) fn spawn_child(cmd: &mut process::Command, handle: &Handle) -> io::Re
let stdout = stdio(child.stdout.take(), handle)?;
let stderr = stdio(child.stderr.take(), handle)?;
let signal = Signal::with_handle(SignalKind::sigchld(), handle)?;
let signal = Signal::with_handle(SignalKind::child(), handle)?;
Ok(SpawnedChild {
child: Child {