Raxol.Agent.Directive.Shell (Raxol Agent v2.6.0)

Copy Markdown View Source

Run a shell command via Port. Returns a single {:command_result, {:shell_result, %{exit_status: status, output: binary}}} message when the command completes or the timeout elapses.

Options: :timeout (default from Raxol.Core.Defaults), :cd, :env.

Summary

Types

t()

@type t() :: %Raxol.Agent.Directive.Shell{command: String.t(), opts: keyword()}