void (@NotNull final Module module) { final Project project = module.getProject(); try { if (!setWorkDir(module)) return; final ProcessHandler process = createProcess(module); process.putUserData(ToolWindowContentExtractor.SYNC_TAB_TO_GUEST, true); new RunContentExecutor(project, process) .withFilter(new PythonTracebackFilter(project)) .withTitle("reStructuredText") .withRerun(() -> execute(module)) .withAfterCompletion(getAfterTask(module)) .run(); } catch (ExecutionException e) { Messages.showErrorDialog(e.getMessage(), RestBundle.message("sphinx.restructured.text.error")); } }