still need to debug what is being left behind

This commit is contained in:
Jeff Carr 2024-12-11 13:54:17 -06:00
parent 8d692299b0
commit f39c2a86a6
1 changed files with 6 additions and 1 deletions

7
cmd.go
View File

@ -224,8 +224,13 @@ func PathRunRealtime(pwd string, args []string) cmd.Status {
} }
// Block waiting for command to exit, be stopped, or be killed // Block waiting for command to exit, be stopped, or be killed
// there are things being left around here. debug this
finalStatus := <-statusChan finalStatus := <-statusChan
log.Info("shell.Run() notsure finalStatus", finalStatus.Cmd) if len(finalStatus.Cmd) != 0 {
if string(finalStatus.Cmd) != "go" {
log.Info("shell.Run() finalStatus.Cmd is", finalStatus.Cmd)
}
}
return findCmd.Status() return findCmd.Status()
} }