stop_process

Function stop_process 

Source
pub async fn stop_process(process_id: &str) -> Result<()>
Expand description

Send SIGTERM to a running shell process, then SIGKILL after 3 s.