View Source Runlet (runlet v1.2.5)
Summary
Types
@type t() :: %Runlet{ aliases: Runlet.CLI.t() | nil, append: nil | binary() | Runlet.CLI.t(), pipeline: binary(), state: any(), stdout: (String.t() -> (Runlet.Event.t() | String.t() -> any())) | nil, uid: binary() }
Functions
@spec compile(t()) :: {:ok, %{code: [Runlet.CLI.t()], jobctrl: boolean()}} | {:error, String.t()}
@spec exec(t(), [Runlet.CLI.t()]) :: :ok