void (@NotNull ProcessEvent event) { try { myOutput = new PrintStream(new FileOutputStream(file)); } catch (FileNotFoundException ignored) { } startedProcess.notifyTextAvailable(CONSOLE_OUTPUT_FILE_MESSAGE + FileUtil.toSystemDependentName(file.getAbsolutePath()) + "\n", ProcessOutputTypes.SYSTEM); }