[−][src]Function rexpect::process::signal::killpg
pub fn killpg<T>(pgrp: Pid, signal: T) -> Result<(), Error> where
T: Into<Option<Signal>>,
Send a signal to a process group (see killpg(3)).
If pgrp
less then or equal 1, the behavior is platform-specific.
If signal
is None
, killpg
will only preform error checking and won't
send any signal.