# LibTmux.Transport.OneShot.option/0

- **Module:** LibTmux.Transport
- **Package:** libtmux
- **Language:** Elixir
- **Kind:** typealias
- **Source:** https://github.com/libtmux/libtmux-elixir/blob/5bacf40788b43a5af27bb3656e727a921ba2db40/lib/libtmux/transport/oneshot.ex#L40
- **Page:** https://libtmux.org/en/elixir/pr-173/reference/libtmux-transport-oneshot-option-0/

```
@type option() ::
        {:timeout, 1..600_000}
        | {:deadline, LibTmux.Deadline.t()}
        | {:cwd, String.t()}
        | {:env, %{optional(binary()) => binary()}}
        | {:native_helper, Path.t() | nil}
        | {:keep_tmux_context, boolean()}
        | {:max_stdout_bytes | :max_stderr_bytes,
           0..16_777_216}
        | {:max_total_bytes, nil | 0..33_554_432}
        | {:max_chunks, 1..65536}
```

Per-call input and capture limits; bytes and chunks are bounded independently.

Timeout and deadline are exclusive. A supplied deadline must have at most
600,000 ms remaining at validation; it preserves its original cutoff.
