Home > Q&A > body text
黄舟2017-04-18 10:39:20
Print Progress 的 errorStream and take a look
Progress
errorStream
Runtime runtime = Runtime.getRuntime(); String[] cmd = {"cmd1", "cmd2"}; Process exec = runtime.exec(cmd); exec.getErrorStream();
Also, can you post the code?