in reply to Exec'ing and output
It seems to me you might not really want to fork and exec... you might want to just fork. Then you can do anything you want in the child. From there, use IPC::Open3 or qx// (or open a pipe) with some redirection to get at both the stdout/stderr of the process. Use whatever method you want to hand the output back to the parent.
-sauoq "My two cents aren't worth a dime.";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Exec'ing and output
by Anonymous Monk on Oct 21, 2005 at 21:16 UTC | |
by sauoq (Abbot) on Oct 21, 2005 at 21:21 UTC |