mirror of
https://gitee.com/gokins/gokins.git
synced 2024-12-02 03:07:46 +08:00
sh+log
This commit is contained in:
parent
dd9640da12
commit
5a66b7da90
@ -146,6 +146,7 @@ func (c *RunTask) runs(pgn *model.TPlugin) (rterr error) {
|
||||
println("cmd.run err:" + err.Error())
|
||||
rn.State = 2
|
||||
}
|
||||
println(fmt.Sprintf("cmdRun(%s)dir:%s", pgn.Title, cmd.Dir))
|
||||
if cmd.ProcessState != nil {
|
||||
rn.Excode = cmd.ProcessState.ExitCode()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user