优化返回结果

This commit is contained in:
2022-05-20 22:31:29 +08:00
parent a015d2984d
commit d4e7b563bc
3 changed files with 7 additions and 1 deletions

View File

@ -13,6 +13,8 @@ package define
//
// Date : 22:00 2022/5/20
type Result struct {
WorkDir string // 执行的目录
CmdPath string // 命令的路径
Err error // 异常信息
Output []byte // 输出的内容
StartTime int64 // 开始时间