Now using bufio.Scanner for reading stdout