def on_cleanup_error(function, path, excinfo):
                click.secho("warning: failed to remove file or directory: {}\n"
                            "please delete it manually.".format(path),
                            fg="red")
def toggle_ignoring_sigint_v2_engine(cls, toggle: bool) -> None:
        assert cls._signal_handler is not None
        cls._signal_handler._toggle_ignoring_sigint_v2_engine(toggle)