Source code for libmuscle.native_instantiator.agent.agent_commands

from dataclasses import dataclass
from pathlib import Path
from typing import Dict, List


[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