in reply to Re^6: Executing command from perl script with input/output
in thread Executing command from perl script with input/output
If all fails you can always fall back to using the old standby "expect" instead of IPC::Open3.
Quite often, it is some little tiny error you are making which prevents you from getting output, even if you have it setup right, and it usually involves buffering and flushing, so the $|=1 is important. If buffering is the problem, you might see the output as you quit the program.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Executing command from perl script with input/output
by linuxfan (Beadle) on Aug 12, 2005 at 21:15 UTC |