Skip to main content

terminate_gracefully

Function terminate_gracefully 

Source
pub fn terminate_gracefully(pid: u32) -> Result<()>
Expand description

Ask a process to terminate gracefully (SIGTERM on Unix, nothing on Windows since we prefer HTTP shutdown; the caller should have already tried that).