in reply to Send data to STDIN of a exec'ed program
Instead of doing the fork and pipe you can do:
open(CHILD, "| $command") or die "$command failed: $!\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Send data to STDIN of a exec'ed program
by ndwg (Beadle) on Nov 14, 2002 at 19:38 UTC | |
by jjdraco (Scribe) on Nov 15, 2002 at 04:25 UTC |