run_single_process#

maize.utilities.execution.run_single_process(func: Callable[[], Any], name: str | None = None, executable: Path | None = None) None[source]#

Runs a function in a separate process.

Parameters:
  • func – Function to call in a separate process

  • name – Optional name of the function

  • executable – Optional python executable to use