RE: Runtime.getRuntime.exec() problem

2007-01-15 Thread Mike Quilleash
To: Tomcat Users List Subject: Re: Runtime.getRuntime.exec() problem hui zhang wrote: Zack Grafton wrote: hui zhang wrote: Zack Grafton wrote: hui zhang wrote: Hi Everybody, Now I am trying to launch an external application, for example, top ,in my web application, and killing it by PID

Re: Runtime.getRuntime.exec() problem

2007-01-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hui, hui zhang wrote: TOP is only an example in this case. Actually I am running some program which can not stop running until terminating it by Control + C. In this case, Tomcat can not run the following code if the external application does not

Re: Runtime.getRuntime.exec() problem

2007-01-15 Thread hui zhang
: 15 January 2007 05:39 To: Tomcat Users List Subject: Re: Runtime.getRuntime.exec() problem hui zhang wrote: Zack Grafton wrote: hui zhang wrote: Zack Grafton wrote: hui zhang wrote: Hi Everybody, Now I am trying to launch an external application

Runtime.getRuntime.exec() problem

2007-01-14 Thread hui zhang
Hi Everybody, Now I am trying to launch an external application, for example, top ,in my web application, and killing it by PID after a while. But when I execute Runtime.getRuntime.exec(top) in my JSP page or Servlet, Tomcat is stuck in that page and do not display anything because it can not

Re: Runtime.getRuntime.exec() problem

2007-01-14 Thread Zack Grafton
hui zhang wrote: Hi Everybody, Now I am trying to launch an external application, for example, top ,in my web application, and killing it by PID after a while. But when I execute Runtime.getRuntime.exec(top) in my JSP page or Servlet, Tomcat is stuck in that page and do not display anything

Re: Runtime.getRuntime.exec() problem

2007-01-14 Thread hui zhang
Zack Grafton wrote: hui zhang wrote: Hi Everybody, Now I am trying to launch an external application, for example, top ,in my web application, and killing it by PID after a while. But when I execute Runtime.getRuntime.exec(top) in my JSP page or Servlet, Tomcat is stuck in that page and do

Re: Runtime.getRuntime.exec() problem

2007-01-14 Thread Jeff Waugh
hui zhang said Zack Grafton wrote: hui zhang wrote: Hi Everybody, Now I am trying to launch an external application, for example, top ,in my web application, and killing it by PID after a while. But when I execute Runtime.getRuntime.exec(top) in my JSP page or Servlet, Tomcat

Re: Runtime.getRuntime.exec() problem

2007-01-14 Thread Zack Grafton
hui zhang wrote: Zack Grafton wrote: hui zhang wrote: Hi Everybody, Now I am trying to launch an external application, for example, top ,in my web application, and killing it by PID after a while. But when I execute Runtime.getRuntime.exec(top) in my JSP page or Servlet, Tomcat is stuck in

Re: Runtime.getRuntime.exec() problem

2007-01-14 Thread hui zhang
Zack Grafton wrote: hui zhang wrote: Zack Grafton wrote: hui zhang wrote: Hi Everybody, Now I am trying to launch an external application, for example, top ,in my web application, and killing it by PID after a while. But when I execute Runtime.getRuntime.exec(top) in my JSP page or

Re: Runtime.getRuntime.exec() problem

2007-01-14 Thread Zack Grafton
hui zhang wrote: Zack Grafton wrote: hui zhang wrote: Zack Grafton wrote: hui zhang wrote: Hi Everybody, Now I am trying to launch an external application, for example, top ,in my web application, and killing it by PID after a while. But when I execute Runtime.getRuntime.exec(top) in my

Re: Runtime.getRuntime.exec() problem

2007-01-14 Thread Zack Grafton
hui zhang wrote: Zack Grafton wrote: hui zhang wrote: Zack Grafton wrote: hui zhang wrote: Hi Everybody, Now I am trying to launch an external application, for example, top ,in my web application, and killing it by PID after a while. But when I execute Runtime.getRuntime.exec(top) in my