process.setProgramExecutable(command.getProgramExecutable());
process.setProgramTitle(command.getProgramTitle());
process.setWaitForExit(command.getWaitForExit());
process.setWorkingDirectory(command.getWorkingDirectory());
ProcessExecutorResults results = exec.execute(process);
Integer exitCode = results.getExitCode();
Throwable error = results.getError();
if (error == null) {
response = new StartCommandResponse(startCommand, exitCode);
} else {
response = new StartCommandResponse(startCommand, error);