Re: problem with executing a batch file in tomcat JAVA servlet

2008-10-15 Thread Mark Thomas
Daniel L. Gross wrote: > I'm trying to execute a batch file in my servlet in tomcat5. I'm using > the Process class exec() and issuing a command of cmd.exe /C file.bat > Then I do a p.waitFor(); after this. However, it appears that a few of > the files copy, then the process hangs. If I stop the

problem with executing a batch file in tomcat JAVA servlet

2008-10-15 Thread Daniel L. Gross
I'm trying to execute a batch file in my servlet in tomcat5. I'm using the Process class exec() and issuing a command of cmd.exe /C file.bat Then I do a p.waitFor(); after this. However, it appears that a few of the files copy, then the process hangs. If I stop the calling program, the batch