System.setOut(new PrefixPrintStream(out, "[stdout] ")); System.setErr(new PrefixPrintStream(out, "[stderr] "));
System.setOut(new PrefixPrintStream(out, "[stdout] ", ConsoleSwing.config.multiplexSystemOut ? System.out : null)); System.setErr(new PrefixPrintStream(out, "[stderr] ", ConsoleSwing.config.multiplexSystemErr ? System.err : null));
  void setSystemIO() {    boolean bDebugClass = "true".equals(System.getProperty("org.knopflerfish.framework.debug.classloader", "false"));    if(!bDebugClass) {      if(!bGrabbed) {	try {	  	  ConsoleSwing.log(LogService.LOG_DEBUG, "grabbing system I/O...");	  	  origIn  = System.in;	  origOut = System.out;	  origErr = System.err;	  	  //	  System.setIn(in);	  System.setOut(new PrefixPrintStream(out, "[stdout] "));	  System.setErr(new PrefixPrintStream(out, "[stderr] "));	  	  bGrabbed = true;	  ConsoleSwing.log(LogService.LOG_DEBUG, "...grabbed system I/O");	  	} catch (Exception e) {	  ConsoleSwing.log(LogService.LOG_ERROR, "Failed to set IO", e);	  bGrabbed = false;	}      }    }  }