diff --git a/commodore/cli/__init__.py b/commodore/cli/__init__.py index 1db42b4b..79779c97 100644 --- a/commodore/cli/__init__.py +++ b/commodore/cli/__init__.py @@ -1,5 +1,7 @@ from __future__ import annotations +import multiprocessing + from pathlib import Path import click @@ -55,6 +57,8 @@ def commodore(ctx, working_dir, verbose): def main(): + multiprocessing.set_start_method("spawn") + load_dotenv(dotenv_path=find_dotenv(usecwd=True)) commodore.main( prog_name="commodore", auto_envvar_prefix="COMMODORE", max_content_width=100