in reply to Re^3: How to call a script interactively from perl
in thread How to call a script interactively from perl
Now, either you can provide next option as i (to include other search string or "d" to delete the listed results etc or "X" to quit script. Now, i am writing a perl script with the intention to run above thirdpartyscript with a specific search string from this perl code and write the result of this run to a unix file. Then again my perl code will email this output file to the interested parties. My perl code works fine when i run that for any other command (e.g. ls), but when i run that for the above third party script, it never completes execution and the output file never populated. So, i thought may be it is because the thirdpartyscript do not exit execution until an "x" is specified as explained above. Please let me know if it helps. ThanksSelect option:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: How to call a script interactively from perl
by McA (Priest) on Oct 16, 2012 at 14:44 UTC | |
by LetMeAsk (Initiate) on Oct 16, 2012 at 16:26 UTC |