{
fCmdList.add("-Mautoflush_epic");
}
if (perlParams != null && perlParams.length() > 0)
{
ExecutionArguments exArgs = new ExecutionArguments(perlParams);
fCmdList.addAll(exArgs.getProgramArgumentsL());
}
if (isCygwin())
{
IPath cygwinPath = getPathMapper(launch).getDebuggerPath(
getScriptPath(launch), null);
if (cygwinPath != null) fCmdList.add(cygwinPath.toString());
else throw new CoreException(new Status(
Status.ERROR,
PerlDebugPlugin.getUniqueIdentifier(),
Status.OK,
MessageFormat.format(
"Could not translate path {0} into a Cygwin path.\n" +
"Make sure your Cygwin mounts are configured properly.",
new String[] { getScriptPath(launch).toOSString() }),
null
));
}
else
fCmdList.add(getScriptPath(launch).toString());
if (progParams != null && progParams.length() > 0)
{
ExecutionArguments exArgs = new ExecutionArguments(progParams);
fCmdList.addAll(exArgs.getProgramArgumentsL());
}
return (String[]) fCmdList.toArray(new String[fCmdList.size()]);
}