pub fn shell_capture(cmd: &str) -> String