ExternalRuntimeTransport.Transport.RunResult (ExternalRuntimeTransport v0.1.0)

Copy Markdown View Source

Captured output and normalized exit data for one-shot non-PTY execution.

Summary

Functions

Returns true when the captured execution completed successfully.

Types

stderr_mode()

@type stderr_mode() :: :separate | :stdout

t()

@type t() :: %ExternalRuntimeTransport.Transport.RunResult{
  exit: ExternalRuntimeTransport.ProcessExit.t(),
  invocation: ExternalRuntimeTransport.Command.t(),
  output: binary(),
  stderr: binary(),
  stderr_mode: stderr_mode(),
  stdout: binary()
}

Functions

success?(run_result)

@spec success?(t()) :: boolean()

Returns true when the captured execution completed successfully.