Ignore:
Timestamp:
09/18/12 16:31:04 (12 years ago)
Author:
sherbold
Message:
  • upgraded command exec: lines that have a % as first non-whitespace character are now ignored
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/java-utils/src/main/java/de/ugoe/cs/util/console/defaultcommands/CMDexec.java

    r766 r819  
    4545                        commands = (new String(buffer)).split("\n"); 
    4646                        for (String command : commands) { 
     47                            if( !command.trim().startsWith("%")) { 
    4748                                Console.traceln(Level.INFO, "Executing \"" + command.trim() + "\""); 
    4849                                CommandExecuter.getInstance().exec(command); 
     50                            } 
    4951                        } 
    5052                        reader.close(); 
Note: See TracChangeset for help on using the changeset viewer.