pub fn to_proc() -> fn(cmd: &mut Command) -> Result<Child>
Generate a closure that returns a Child from the given command.