Java runtime.exec does not execute correctly
问题 I am getting an exe-File, which I have to execute using Java (Version 6) on Windows Server 2008 R2. Now there is s problem I do not really understand. When executing the file with the commandline "C:\test.exe param1 param2" it works correctly, but when I execute the file with Process proc = Runtime.getRuntime().exec("C:\\test.exe param1 param2"); proc.waitFor(); I can see the test.exe in the windows task manager and it starts running (it creates a log which states that), but then it simply