svoid drainErrorStreamToConsole(Process process, IPred<S> printIf, IF0<AutoCloseable> 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);
    }
  }
}