Process proc = null;
if (program == null) {
boolean ok = false;
- for (String starter : new String[] { "xdg-open", "open", "see",
- "start", "run" }) {
+ for (String starter : new String[] { "xdg-open", "see",
+ "start", "run", "open" }) {
try {
Instance.getInstance().getTraceHandler()
- .trace("starting external program");
+ .trace("starting external program: " + starter);
proc = Runtime.getRuntime().exec(
new String[] { starter, target.getAbsolutePath() });
ok = true;
}
} else {
Instance.getInstance().getTraceHandler()
- .trace("starting external program");
+ .trace("starting external program: " + program);
proc = Runtime.getRuntime()
.exec(new String[] { program, target.getAbsolutePath() });
}
import be.nikiroo.fanfix.Instance;
import be.nikiroo.fanfix.library.BasicLibrary;
-import be.nikiroo.fanfix.reader.ui.GuiReaderBookInfo;
import be.nikiroo.utils.Image;
import be.nikiroo.utils.ui.ImageUtilsAwt;
import be.nikiroo.utils.ui.UIUtils;