FFix.Runner.Result (ffix v0.1.0)

Copy Markdown View Source

Result of running an external command through FFix.Runner.

stdout and stderr only include the data requested by the runner options. argv and shell always reflect the exact command that was executed. Parsed ffmpeg-style logs and the latest progress update are exposed separately from the raw stderr capture.

Summary

Types

exit_status()

@type exit_status() :: non_neg_integer() | :epipe

t()

@type t() :: %FFix.Runner.Result{
  argv: [String.t()],
  command: FFix.Command.t() | nil,
  duration_ms: non_neg_integer() | nil,
  exit_status: exit_status() | nil,
  finished_at: DateTime.t() | nil,
  last_progress: FFix.Runner.Progress.t() | nil,
  logs: [FFix.Runner.Log.t()],
  shell: String.t(),
  started_at: DateTime.t() | nil,
  stderr: binary() | nil,
  stdout: binary() | nil
}