File scriptFile = PerlDebugPlugin.getDefault().extractTempFile(
scriptName, null);
List args = new ArrayList(1);
args.add(scriptFile.getAbsolutePath());
args.addAll(scriptArgs);
return executor.execute(scriptFile.getParentFile(), args, "")
.getStdoutLines();
}
catch (IOException e)
{
throw new CoreException(new Status(IStatus.ERROR, PerlDebugPlugin