Change asyncInteract sender to not send a full line, but just send input to process stdin. Also add Wait method to shorten call to child.Cmd.Wait to child.Wait