# LibTmux.Transport.OneShot.run/3

- **Module:** LibTmux.Transport
- **Package:** libtmux
- **Language:** Elixir
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-elixir/blob/5bacf40788b43a5af27bb3656e727a921ba2db40/lib/libtmux/transport/oneshot.ex#L60
- **Page:** https://libtmux.org/en/elixir/pr-173/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.

`:native_helper` can name an absolute path to a trusted helper from this
libtmux build. By default, it uses the helper in the installed application.

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

## Parameters

- `executable` (`binary()`)
- `arguments` (`[binary()]`)
- `options` (`[option()]`)
  Default: `[]`.

## Guides

Pages that discuss `run/3`.

- [Execution ownership](/en/elixir/pr-173/topics/ownership/)
