Skip to main content

parse_procs

Function parse_procs 

Source
pub fn parse_procs(value: &str) -> Result<Vec<ProcTarget>, String>
Expand description

Parse a list of processes: a comma list of name:pid or name:/path/to/pidfile. A name is letters, digits, _ and -, is given once, and is not nmbrs. An error does not name the setting it was read from; the caller does.