void (GeneralCommandLine commandLine) { ParametersList parametersList = commandLine.getParametersList(); ParamsGroup exeOptions = parametersList.getParamsGroup(GROUP_EXE_OPTIONS); assert exeOptions != null; exeOptions.addParametersString(myConfiguration.getInterpreterOptions()); ParamsGroup scriptParameters = parametersList.getParamsGroup(GROUP_SCRIPT); assert scriptParameters != null; getRunner().addToGroup(scriptParameters, commandLine); final String key = getKey(); if (key != null) { scriptParameters.addParameter(key); } scriptParameters.addParameter(getTask()); final String params = myConfiguration.getParams(); if (params != null) scriptParameters.addParametersString(params); if (!StringUtil.isEmptyOrSpaces(myConfiguration.getInputFile())) { scriptParameters.addParameter(myConfiguration.getInputFile()); } if (!StringUtil.isEmptyOrSpaces(myConfiguration.getOutputFile())) { scriptParameters.addParameter(myConfiguration.getOutputFile()); } if (!StringUtil.isEmptyOrSpaces(myConfiguration.getWorkingDirectory())) { commandLine.setWorkDirectory(getExpandedWorkingDir(myConfiguration)); } }