# LibTmux.Transport.OneShot.run/3

- **Module:** LibTmux.Transport
- **Package:** libtmux
- **Language:** Elixir
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-elixir/blob/66b9b1c3f3f3186428abdfda2c76f5cf87446710/lib/libtmux/transport/oneshot.ex#L57
- **Page:** https://libtmux.org/en/elixir/latest/reference/libtmux-transport-oneshot-run-3/

```
run(executable, arguments, options \\ [])
@spec run(binary(), [binary()], [option()]) ::
        {:ok, result()} | {:error, LibTmux.Error.t()}
```

Runs argv without a shell, retaining exit status separately from stdout and stderr.

See the [worked example](api-examples.html#encoding-and-protocol).

## Parameters

- `executable` (`binary()`)
- `arguments` (`[binary()]`)
- `options` (`[option()]`)
