Java application lauched with ProcessBuilder blocked after some time
问题 I am developing a Java desktop application (let's call it console) containing 3 buttons: two of them launch a Win32 applications; the third should launch an executable jar: ProcessBuilder pb = new ProcessBuilder("java", "-jar", testDrivePath); Process process = pb.start(); where testDrivePath is the path to the jar (something like "C:\Programs\TestDrive.jar") The TestDrive.jar application launches correctly, but after some time it blocks and is not able to make any operation. If I close the