On Fri, Apr 20, 2018 at 5:22 AM, Robert Bielik <robert.bie...@gmail.com> wrote:
>
> I have an application where I'd like to be able to pipe data in/out, but not
> on stdin/stdout/err, but on other file descriptors. How to ?

If you are on a Unix system, on the parent side see the ExtraFiles
field of os/exec.Command, and on the child side see os.NewFile.

Ian

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