add function to use as goroutine for stdout and stderr pipes
Merge pull request #63 from gengo/add-stderr-pipe

add function to use as goroutine for stdout and stderr pipes