Thanks all for the answers, let me detail the situation again,
The third party script after completion (first round) ask a question:
in reply to Re: How to call a script interactively from perl
in thread How to call a script interactively from perl
Manually if i supply an "X" then it quits the script but as i am calling this third party script from my perl script i want perl to terminate that script so that the output of the thirdpartyscript can be written to a file(by perl) and so that i can use that file.
Sorry if you replied to the exact scenario.
Select Option :