作者starskgb (Metal)
看板java
標題[問題] runtime呼叫外部程式後想再改參數要怎麼做
時間Wed May 28 22:24:40 2008
Runtime t = Runtime.getRuntime();
Process pr=t.exec(cmd);
外部程式可用command line
當執行後,我想換參數在同一隻外部程式上要怎麼做??
我試過用outputstreamwriter去丟參數,可是沒反應
請問有什麼做法嗎,謝謝@@
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.227.188.37