Skip to main content

kill

Function kill 

Source
pub async fn kill(
    pid: impl ToString,
    signal: Option<&str>,
) -> Result<(), ZxError>
Expand description

Kill a process and all of its descendants (zx kill()).

pid must render as a string of digits; signal defaults to the current scope’s kill_signal (SIGTERM).