svoid drainErrorStreamToConsole(Process process, IPred printIf, IF0 enter) { thread "Drain error stream" { temp enter!; DataInputStream err = new(process.getErrorStream()); S line; while ping ((line = err.readLine()) != null) { if (printIf == null || printIf.get(line)) print("ERR: " + line); } } }