public void exec(String[] command, boolean waitFor) throws IOException { LogUtils.info("execute " + Arrays.toString(command)); Process proc = Runtime.getRuntime().exec(command); waiting(waitFor, proc); }
public void exec(String string, boolean waitFor) throws IOException { LogUtils.info("execute " + string); Process proc = Runtime.getRuntime().exec(string); waiting(waitFor, proc); }