Hi, Iam sorry for my reply earlier. The file bar is not created. Only foo is created.
Regards, P.V.R.Kartik -----Original Message----- From: Atsuhiko Yamanaka [mailto:[email protected]] Sent: Wednesday, November 17, 2010 4:35 PM To: Kartik Pullabhotla v r (WT01 - GMT-Telecom Equipment) Cc: [email protected] Subject: Re: [JSch-users] Oracle exp command with jsch Hi, +-From: <[email protected]> -- |_Date: Wed, 17 Nov 2010 14:33:12 +0530 __ | |console whereas all statements before this command are executed. By |trying as you suggested I could see the files foo and bar created |whereas goo never is extracted from the output stream. If bar is really created, I don't have any clue for that problem. How about the following, rm /tmp/foo /tmp/bar ; echo 'foo' > /tmp/foo ; exp $dbusr/$db...@$oracle_service file=expdb_`date +%d-%m-%G`.dmp log=explog_`date +%d-%m-%G`.log statistics=none. > /dev/null 2> /dev/null ; echo 'bar' > /tmp/bar ; echo 'goo' Will 'goo' be read from its output-stream? Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 +1-415-578-3454 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ JSch-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jsch-users
