add function to use as goroutine for stdout and stderr pipes
add function to use as goroutine for stdout and stderr pipes

gengo/goship,cazacugmihai/goship,cazacugmihai/goship,gengo/goship,kgrvamsi/goship,kgrvamsi/goship,cazacugmihai/goship,gengo/goship,kgrvamsi/goship