- // Execute a command without arguments
- final String[] c = new String[2];
-
- c[0] = "gnome-terminal";
- c[1] = "--working-directory=" + chosenFile.getAbsolutePath();
-
- try {
- Runtime.getRuntime().exec(c);
- InstantLauncher.exitProgram();
-
- } catch (final IOException e) {
- new ExceptionDialog(e);
- }