129130131132133134135136137138139
ProcessBuilder pb = new ProcessBuilder(cmd.split(" ")); process = pb.start(); if (log.isTraceEnabled()) { processLogThread = new Thread(new StreamLogger(process.getErrorStream(), log)); processLogThread.setDaemon(true); processLogThread.start(); }