pgrep

Function pgrep 

Source
pub fn pgrep(name: &str) -> Option<isize>
Expand description

A typed thin wrapper around pgrep.

Returns either the PID of the process or None