Source code for libmuscle.native_instantiator.agent.agent_commands

from dataclasses import dataclass
from pathlib import Path


[docs] class AgentCommand: pass
[docs] @dataclass class StartCommand(AgentCommand): name: str work_dir: Path args: list[str] env: dict[str, str] stdout: Path stderr: Path
[docs] class CancelAllCommand(AgentCommand): pass
[docs] class ShutdownCommand(AgentCommand): pass