ide/src/wombat/gui/frames/MainFrame.java
public void doCommand(String command) {
    	// Don't allow multiple things to run at once.
    	setRunning(true);
    	
    	// Clean up the input and don't run empty content.
        final String cmd = command.trim();
        if (cmd.length() == 0)
            return;

        // Add the prompt and indent to match it.
        History.append("\n~ " + cmd.replace("\n", "\n  ") + "\n");
        History.goToEnd();
        
        // Actually execute the command (async, the petite thread above will capture any output).
        Petite.sendCommand(cmd);
    }
/**
     * Run a line of Scheme code.
     * @param command The command to run.
     */
Run a line of Scheme code.
@param command The command to run.
Run a line of Scheme code . @param command The command to run .
public void doCommand(String command) {
    	setRunning(true);
        final String cmd = command.trim();
        if (cmd.length() == 0)
            return;
        History.append("\n~ " + cmd.replace("\n", "\n  ") + "\n");
        History.goToEnd();
        Petite.sendCommand(cmd);
    }
public void doCommand ( String command ) { setRunning ( true ) ; final String cmd = command . trim ( ) ; if ( cmd . length ( ) == 0 ) return ; History . append ( "\n~ " + cmd . replace ( "\n" , "\n  " ) + "\n" ) ; History . goToEnd ( ) ; Petite . sendCommand ( cmd ) ; }
Run a line of Scheme code.
Run a line of Scheme code .
// Don't allow multiple things to run at once. // Clean up the input and don't run empty content. // Add the prompt and indent to match it. // Actually execute the command (async, the petite thread above will capture any output).