Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 48404 invoked from network); 10 May 2008 13:09:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 May 2008 13:09:38 -0000 Received: (qmail 92797 invoked by uid 500); 10 May 2008 13:09:33 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 91836 invoked by uid 500); 10 May 2008 13:09:31 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 91825 invoked by uid 99); 10 May 2008 13:09:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 May 2008 06:09:31 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: unknown ~allmx (athena.apache.org: encountered unrecognized mechanism during SPF processing of domain of psiva@techmahindra.com) Received: from [202.67.4.28] (HELO mx7.techmahindra.com) (202.67.4.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 May 2008 13:08:42 +0000 Received: from SINMUMEF001.TechMahindra.com ([10.3.6.27]) by mx7.techmahindra.com with InterScan Message Security Suite; Sat, 10 May 2008 18:38:46 +0530 Received: from SINMUMEX001.TechMahindra.com ([10.3.6.23]) by SINMUMEF001.TechMahindra.com with Microsoft SMTPSVC(6.0.3790.1830); Sat, 10 May 2008 18:38:28 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C8B29E.F058FE1D" Subject: Problem with telnet session Date: Sat, 10 May 2008 18:38:34 +0530 Message-ID: <1AC7B23C2BEC4D4F8028D1A34ADE517D011E5A1A@SINMUMEX001.TechMahindra.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problem with telnet session Thread-Index: AciynvO7GZDo2r2bQfyHhSzBh1a2Pw== X-Priority: 1 Priority: Urgent Importance: high From: "Siva Pannier" To: X-OriginalArrivalTime: 10 May 2008 13:08:28.0857 (UTC) FILETIME=[F070F290:01C8B29E] X-imss-version: 2.047 X-imss-result: Passed X-imss-scanInfo: M:P L:E SM:0 X-imss-tmaseResult: TT:0 TS:0.0000 TC:00 TRN:0 TV:5.5.1026(15900.007) X-imss-scores: Clean:99.90000 C:2 M:3 S:5 R:5 X-imss-settings: Baseline:2 C:1 M:1 S:1 R:1 (0.1500 0.1500) X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C8B29E.F058FE1D Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi All, =20 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. =20 I have used streams to read and write into the telnet session. After writing the command "./monitor.sh ", the telnet session neither waits for the script to complete its execution nor waits for the completion message. =20 It immediately gets the command prompt and the session is closed by my program.=20 =20 Can someone please let me know, how to overcome this issue. =20 Thanks & Regards, Shiv... =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 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 http://www.techmahindra.co= m/Disclaimer.html externally and http://tim.techmahindra.co= m/Disclaimer.html internally within Tech Mahindra. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ------_=_NextPart_001_01C8B29E.F058FE1D--