Vibe.Command.Result (vibe v0.2.2)

Copy Markdown View Source

Structured result from a supervised command execution.

Summary

Types

status()

@type status() :: :ok | :error | :timeout | :cancelled | :running

t()

@type t() :: %Vibe.Command.Result{
  argv: [String.t()],
  cwd: Path.t(),
  duration_ms: non_neg_integer(),
  exit_status: non_neg_integer() | nil,
  id: String.t(),
  output: String.t(),
  output_path: Path.t(),
  status: status()
}