diff --git a/chatIn.go b/chatIn.go index b8996d7..ab57f4b 100644 --- a/chatIn.go +++ b/chatIn.go @@ -156,6 +156,7 @@ func getNewMessages(k Keybase, c chan<- ChatIn, execOptions []string) { keybaseListen := exec.Command(k.Path, execCommand...) keybaseOutput, _ := keybaseListen.StdoutPipe() keybaseListen.Start() + keybaseListen.Wait() scanner := bufio.NewScanner(keybaseOutput) var jsonData ChatIn