baml.sys.ShellOutput

The result of running an external process with `exec` or `shell`.

Reference version

Signature

class baml.sys.ShellOutput

The result of running an external process with exec or shell.

Source:<builtin>/baml/ns_sys/sys.bamlbytes 1111–1327

Fields

stdout

uint8array

stderr

uint8array

exit_code

int

Instance methods

function

ok

(self) -> bool throws never

Returns true if the process exited with code 0.

Implementations

baml.Concrete for T

Source:<builtin>/baml/core.bamlbytes 763–795