commandLine.setExecutable(getFooCommand()); #### commandLine.setExecutable(getPerlCommand());