    def run(self, commands: list[str]):
        """
        Run commands in the activated environment.
        """
        conda_env_path = self.env_fs.getsyspath(self.name)
        create_script = f"""\
eval "$({self.env_exe} shell.posix hook)"
conda activate {conda_env_path}
{" ".join(commands)}
"""
        with NamedTemporaryFile(mode="w", delete=False) as script_file:
            script_file.write(create_script)
        self.run_script_subprocess(
            script_file.name, capture_output=False, debug_mode=get_debug_mode()
        )
Run commands in the activated environment.
src/bentoml/_internal/env_manager/envs.py