E2bEx.CommandResult (E2bEx v0.1.0)

Copy Markdown View Source

Result of a completed sandbox command (see E2bEx.Commands.run/4).

exit_code is 0 for success. error carries a command-level error string reported by envd in the process end event (distinct from an operation-level {:error, %E2bEx.Error{}}, which signals the command could not be run).

Summary

Types

t()

@type t() :: %E2bEx.CommandResult{
  error: String.t() | nil,
  exit_code: integer(),
  stderr: String.t(),
  stdout: String.t()
}