tardis.interfaces.executor module

class tardis.interfaces.executor.CommandResult(*args, **kwargs)[source]

Bases: Protocol

exitcode: int
stderr: str
stdout: str
class tardis.interfaces.executor.Executor[source]

Bases: object

abstract async run_command(command: str, stdin_input: Optional[str] = None) CommandResult[source]

Run command in a shell and provide the result