ExecResult#

class ray.experimental.sandbox.ExecResult(exit_code: int, stdout: str, stderr: str, duration_seconds: float)[source]#

Bases: object

Result of executing a command inside a Sandbox.

exit_code#

Command process exit code (0 indicates success).

Type:

int

stdout#

Standard output text string.

Type:

str

stderr#

Standard error text string.

Type:

str

duration_seconds#

Command execution time in seconds.

Type:

float

PublicAPI (alpha): This API is in alpha and may change before becoming stable.

property duration_ms: float#

Execution duration in milliseconds.