FAQ
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.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 4 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedDec 17, '14 at 5:12p
activeDec 17, '14 at 9:36p
posts4
users3
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase