diff --git a/app/daemon.go b/app/daemon.go index d91090f..7bc1e69 100644 --- a/app/daemon.go +++ b/app/daemon.go @@ -46,9 +46,9 @@ func cmdStdin(commandline []string, input <-chan string) { // stdout displaying thread go func() { + // FIXME + tmp := make([]byte, 1024) for { - // FIXME - tmp := make([]byte, 1024) _, err := stdout.Read(tmp) if len(bytes.Trim(tmp, "\x00")) > 0 { for _, line := range strings.Split(strings.ReplaceAll(string(bytes.Trim(tmp, "\x00")), "\r\n", "\n"), "\n") {