void (@NotNull ProcessEvent event, @NotNull Key outputType) { if (outputType == ProcessOutputTypes.STDERR) { final String text = event.getText(); synchronized (myUnprocessedStdErr) { myUnprocessedStdErr.append(text); } } }