throw new IOException("URL not supported: " + source.toString());
}
- story = support.process(source, pg);
+ story = support.process(pg);
if (story == null) {
throw new IOException(
"Cannot retrieve story from external source: "
for (String starter : new String[] { "xdg-open", "open", "see",
"start", "run" }) {
try {
+ Instance.getTraceHandler().trace(
+ "starting external program");
Runtime.getRuntime().exec(
new String[] { starter, target.getAbsolutePath() });
ok = true;
throw new IOException("Cannot find a program to start the file");
}
} else {
+ Instance.getTraceHandler().trace("starting external program");
Runtime.getRuntime().exec(
new String[] { program, target.getAbsolutePath() });
}