Re: Runtime.getRuntime.exec() problem

2007-01-15 Thread hui zhang
mailto:[EMAIL PROTECTED] Sent: 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 launc

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 d

RE: Runtime.getRuntime.exec() problem

2007-01-15 Thread Mike Quilleash
Sent: 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, >>>>> >

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 m

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 m

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 Ser

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

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

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

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 anythi

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