摘要: sout, err := linux.ExecCmd(action) if err != nil { errcode := 0 exitError, ok := err.(*exec.ExitError) if ok { errcode = exitError.ExitCode() } out := 阅读全文
posted @ 2022-05-26 16:56 jiftle 阅读(530) 评论(0) 推荐(0) 编辑