我尝试使用Runtime.getRuntime().exec(cmd)
运行 jad app 来反编译 .class 文件。cmd = "../bin/jad Test.class"
但我无法通过这种方式获得输出:
Process p = Runtime.getRuntime().exec(jadCmd2);
BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream()));
String line = null;
while ((line = in.readLine()) != null) {
System.out.println(line);
}
没有输出,谁能告诉我?