cc: [email protected] Subject: Re: [ast-users] Passing a file descriptor to a child process? --------
> ksh93 uses O_CLOEXEC to avoid passing all its file descriptors to a > child process. That is IMO a good thing (clean!). > > However, is there a way to pass a file descriptor to a child process? > > Tina > -- > Tina Harriott - Women in Mathematics > Contact: [email protected] > Yes, run any_command {fd}< foobar to open foobar for reading and pass it to an_command. exec {fd}< foobar will open it only in the shell environment David Korn [email protected] _______________________________________________ ast-users mailing list [email protected] http://lists.research.att.com/mailman/listinfo/ast-users
