Cannot read from Pipe using exec.Command in Go
I am writing a go program that sends data to another program via stdin and reads the response via stdout. Here is a script which acts as an "echo server" of sorts: import sys if __name__==’__main__’: for line in sys.stdin: print("Hello", line.strip()) When I try to communicate with this program in Go, it hangs on… Read More Cannot read from Pipe using exec.Command in Go