currentProcess = Shell.execute(command, mainFrame.getActiveTable().getCurrentFolder());
currentProcess = Shell.execute(command, mainFrame.getActiveTable().getCurrentFolder(), this);
    public void runCommand(String command) {        try {            currentProcess = Shell.execute(command, mainFrame.getActiveTable().getCurrentFolder());            processInput   = new PrintStream(currentProcess.getOutputStream(), true);            // If command could be executed            // Reset caret position            caretPos = 0;            switchToStopState();            // And start monitoring the process and outputting to the text area            processMonitor = new ProcessMonitor(this.currentProcess, this);        }        catch(Exception e1) {            // Probably should notify the user if the command could not be executed        }    }