Respected Sirs, We have seen your posting at http://www.eos.dk/archive/swing/msg02292.html Can you please tell why its happening? Runtime.getRuntime().exec(new String[] {"/bin/sh","-c", "ls / 2>&1 | tee ls.log"}); is running well. But to our surprise, when we execute Runtime.getRuntime().exec(new String[] {"/bin/sh","-c", "top -b 2>&1 | grep idle"}); its NOT RUNNING. ALTHOUGH Runtime.getRuntime().exec(new String[] {"/bin/sh","-c", "top -b 2>&1 | tee top.log"}); and even Runtime.getRuntime().exec(new String[] {"/bin/sh","-c", "ls / 2>&1 | grep auto"}); both are working well. It will be of great help to us. Thanks and sincere regards, Sangeeta __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ _______________________________________________ Swing mailing list [EMAIL PROTECTED] http://eos.dk/mailman/listinfo/swing
