62,625
社区成员
发帖
与我相关
我的任务
分享
public class MyTest {
public static void main(String[] args) throws Exception {
if(args.length == 0) {
Process p = Runtime.getRuntime().exec("java -cp bin chdw.MyTest aa");
p.waitFor();
System.out.println(p.exitValue());
} else
System.exit(-2);
}
}