Given the following code https://play.golang.org/p/1_Q9SFIPjr one can see 
that stdout of Go and cgo are piped to two different descriptors.

a.) Is it possible to redirect stderr/stdout of cgo calls directly to 
os.Stderr/os.Stdout? Am I overlooking some argument or options of cgo so 
that is done automatically during compilation?
b.) Are there any hacks to accomplish the capturing involving only Go code?
c.) Is there a solution at all?

Either my Google-foo is not strong enough or nobody ever posted this on the 
mailing list or some blog.

Cheers,
Markus

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to