From f39c2a86a699690c2d0fe6e7db48ba8f173b050e Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 11 Dec 2024 13:54:17 -0600 Subject: still need to debug what is being left behind --- cmd.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'cmd.go') diff --git a/cmd.go b/cmd.go index d20ad2b..f8fd6c8 100644 --- a/cmd.go +++ b/cmd.go @@ -224,8 +224,13 @@ func PathRunRealtime(pwd string, args []string) cmd.Status { } // Block waiting for command to exit, be stopped, or be killed + // there are things being left around here. debug this 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() } -- cgit v1.2.3