from typing import Callable


def run_main(main: Callable[[], None]):
    """
    Runs the main function. Add try/catch wrappers or whatever you need here.
    That's useful in case you want to have several points to call main().

    Parameters
    ----------
    main
        Main function
    """
    return main()