[問題] 調用外部程式
try{
Process p = Runtime.getRuntime().exec("C:\\test.exe");
}
catch (Exception e){
System.out.println(e.getMessage());
}
我調用外部程式
這程式test.exe 還需要輸入值才能運作
想請問要怎麼給test.exe值呢?
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 163.23.14.190
討論串 (同標題文章)