This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'm using the Tomcat as Web Server. In my JSP file, I write as following
... String command = "cmd.exe /C ffmpeg -i ...."; Process p = Runtime.getRuntime().exec(command); p.waitFor(); ...
Then it hangs (I have waited for 10 minutes but that process seems never stop). When I look at the converted file, it just about 200KB (actually it must be 800KB). Then I stop the Tomcat, that file is immediately 800KB???