Generic transport-level command invocation.
This struct stays below CLI-domain concerns. It only carries the executable, argv, and launch-time process options needed by the execution-surface substrate.
Summary
Functions
Returns the executable and argv as a flat list.
Merges environment variables into the invocation.
Builds a normalized transport command.
Adds or replaces one environment variable.
Validates the generic transport command contract.
Types
Functions
Returns the executable and argv as a flat list.
Merges environment variables into the invocation.
Builds a normalized transport command.
Adds or replaces one environment variable.
@spec validate(t()) :: :ok | {:error, {:invalid_command, term()}} | {:error, {:invalid_args, term()}} | {:error, {:invalid_cwd, term()}} | {:error, {:invalid_env, term()}} | {:error, {:invalid_clear_env, term()}} | {:error, {:invalid_user, term()}}
Validates the generic transport command contract.