pub fn exec(cmd: &str, args: &Vec<&str>) -> Result<CmdResult, Error>
cmd
exec a command and get the result,if get the command’s exit code failed, default to -1