Runtime.getRuntime().exec("外部コマンド"); ProcessBuilder pb = new ProcessBuilder("コマンド","引数1"); Process p = pb.start(); //別プロセスの起動 p.waitFor(); //スレッド終了待ち