Hi All,
I am using a telnet session, to execute a script on the solaris unix box. The script approximately takes 10 seconds to complete and gives a confirmation message while exiting. I have used streams to read and write into the telnet session. After writing the command "./monitor.sh <parameter>", the telnet session neither waits for the script to complete its execution nor waits for the completion message. It immediately gets the command prompt and the session is closed by my program. Can someone please let me know, how to overcome this issue. Thanks & Regards, Shiv... ============================================================================================================================ Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra. ============================================================================================================================
