in reply to Send data to STDIN of a exec'ed program

Have you looked at open2()? It's described in perlipc. If you're running 5.8, there's alsoIPC::Open2.

  • Comment on Re: Send data to STDIN of a exec'ed program

Replies are listed 'Best First'.
Re: Send data to STDIN of a exec'ed program
by ndwg (Beadle) on Nov 14, 2002 at 20:28 UTC
    I did look at open2. As with open from pipe, there is more than one way to do what I already have. I thought that the extra file handles from pipe/fork would allow for shell redirection tricks. But, alas, it has not helped much. :-(

    Any other ideas for taking the next step?