void (@NotNull RunContentDescriptor descriptor, @NotNull String processName) { ProcessHandler processHandler = descriptor.getProcessHandler(); if (processHandler != null) { processHandler.addProcessListener(new MyForkedProcessListener(descriptor, processName)); } }