void (@NotNull ProcessEvent event) { int exitCode = event.getExitCode(); if (exitCode == 0) { request.onTextReady(getOutput().getStdout()); } else { request.onError(message("sh.shell.script"), getOutput().getStderr()); } }