void restartWeb() {
try {
String[] command = new String[] {"webRestarter.exe" , ">>","webLog.log"};
Runtime.getRuntime().exec(command);
} catch (java.io.IOException err) {
webServer.logError(err.getMessage());
}
}
なぜこれが機能しないのですか?どうすれば修正して、希望どおりに機能するようにできますか?
--パラメータ>>webLog.logを使用してwebRestarter.exeを実行します
したがって、次のようなものを吐き出します。
webRestarter.exe>>webLog.log