does this exit correctly? is it done or not done?
This commit is contained in:
parent
3408d9434b
commit
9a3e2628fd
2
cmd.go
2
cmd.go
|
@ -228,7 +228,7 @@ func PathRunRealtime(pwd string, args []string) cmd.Status {
|
||||||
finalStatus := <-statusChan
|
finalStatus := <-statusChan
|
||||||
if len(finalStatus.Cmd) != 0 {
|
if len(finalStatus.Cmd) != 0 {
|
||||||
if string(finalStatus.Cmd) != "go" {
|
if string(finalStatus.Cmd) != "go" {
|
||||||
log.Info("shell.Run() finalStatus.Cmd is", finalStatus.Cmd)
|
log.Info("shell.Run() ok goroutine end?", finalStatus.Cmd, finalStatus.Exit)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return findCmd.Status()
|
return findCmd.Status()
|
||||||
|
|
Loading…
Reference in New Issue