run_in_env

soap.run_in_env(args: Sequence[str], env: Env)[source]

Run a command in the provided environment. Does not update the environment.

This function will raise an exception if the provided environment has not been prepared. To update the environment and ensure it exists, first call prepare_env.

Parameters:
  • args – The command to run.

  • env – The environment to run the command in.