Question?質問ですか? Amitava Ghosh wrote at caljug:ゴーシュamitavaで書いたcaljug :

Dear all,親愛なるすべて、
I am trying to call an executable(written in C++) inside a java code through a私はしようとして請求する実行可能ファイル( C + +で書か)の中にJavaコードを介して
batch file(where the parameters for the C++ executable are stored).バッチファイル(ここでするためのパラメータをC + +の実行可能ファイルが格納さ) 。
When I am usingときに私は使用して
Process p = Runtime.getRunTime().exec(”cppexe.bat”)プロセスp = runtime.getruntime ( ) 。実行( " cppexe.bat " )
it is working fine but when I am using start to run the batch process in a new window as inこれは作業罰金しかし、私は使用して起動時にバッチ処理を実行すると、新しいウィンドウのように
Process p = Runtime.getRuntime().exec(”start cppexe.bat”)プロセスp = runtime.getruntime ( ) 。実行( "スタート]ボタンをcppexe.bat " )
I am getting an IOException Cannot create process etc etc私は就学許可証にIOExceptionプロセス等等を作成することはできません

Answer: start is a command of cmd.exe (under Windows NT/2000 etc.).答: スタート]ボタンは、コマンドのcmd.exeで(下のWindows NT/2000の等)です。 So you should run it instead:これを実行する必要がそれの代わりに:
Process p = Runtime.getRuntime().exec(”cmd /c start cppexe.bat”);プロセスp = runtime.getruntime ( ) 。実行(に" cmd /スタート]ボタンをcppexe.bat " ) ;