前些天使用Java调用外部程序的时候,发现线程会堵塞在waitfor()方法。调用方法如下: Process process = Runtime.getRuntime().exec(cmd);pro......