void (@NotNull ProcessEvent event) { if (myStdoutLine.length() != 0) { myListener.onStdoutLine(myStdoutLine.toString()); } if (myStderrLine.length() != 0) { myListener.onStderrLine(myStderrLine.toString()); } }