/** * Do all configuration for an executable that * is common across the {@link #fork(String[])} and * {@link #spawn(String[])} methods. * @param exe executable. * @param command command to execute. */ private void setupExecutable(Execute exe, String[] command) { exe.setAntRun(getProject()); setupWorkingDir(exe); setupEnvironment(exe); setupCommandLine(exe, command); }