From just looking at this code nothing jumps out at me as super incorrect (I'm on mobile otherwise I'd check, sorry). What is the output of running your command in the command prompt? If reading from stdout yields an EOF it seems to me that the process exited before it printed anything. Try running a simpler program (ie try running "echo hello world" and if that works then your go code is correct).
Also, I'm assuming handleError prints the error and exits if its not nil.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit
https://groups.google.com/d/optout.