Exactly how would the call on the child side look ? file := os.NewFile(uintptr(3), "fd3")
? Den fredag 20 april 2018 kl. 14:54:29 UTC+2 skrev Ian Lance Taylor: > > On Fri, Apr 20, 2018 at 5:22 AM, Robert Bielik <robert...@gmail.com > <javascript:>> 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.