Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: Util/helpfiles failing on old-fashioned unix



On Fri, Dec 13, 2013 at 1:08 AM, Martin Vaeth <
vaeth@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

> Unfortunately, I do not know a way in perl to redirect stdin *and* stdout
> of a subprocess simultaneously.
>

One easy way is to use IPC::Open3 <http://perldoc.perl.org/IPC/Open3.html>,
which is a default library that comes with perl.  This lets you start a
subprocess with any desired stdin & stdout & stderr.

..wayne..


Messages sorted by: Reverse Date, Date, Thread, Author