SandboxProcessInfo¶
- class baseten.sandbox.SandboxProcessInfo(*, pid, name, command, status, exit_code, stdout, stderr, logs, working_dir, started_at, completed_at, keep_alive, max_restarts, restart_count, restart_on_failure, stdin)¶
Bases:
objectA process in a sandbox.
- Parameters:
pid (str)
name (str)
command (str)
status (Literal['failed', 'killed', 'stopped', 'running', 'completed'] | str)
exit_code (int)
stdout (str)
stderr (str)
logs (str)
working_dir (str)
started_at (datetime)
completed_at (datetime | None)
keep_alive (bool | None)
max_restarts (int | None)
restart_count (int | None)
restart_on_failure (bool | None)
stdin (bool | None)