- private static void runOpeningApplication(final String[] commands, final File file) {
- for (int i = 0; i < commands.length; i++)
- if (commands[i].equals(FILE_INDICATOR))
- commands[i] = file.getAbsolutePath();
+ Runtime.getRuntime().exec(commandsArray);
+ } catch (final IOException e) {
+ new ExceptionDialog(e);
+ }
+ }