# LibTmux.Program.ProgramOptions

- **Package:** libtmux-haskell
- **Language:** Haskell
- **Kind:** data type
- **Source:** https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/internal/LibTmux/Internal/Program.hs#L67
- **Page:** https://libtmux.org/en/haskell/latest/reference/libtmux-program-t-programoptions/

```haskell
data ProgramOptions
```

A literal executable and its arguments. The record has no Show instance:
 command and environment values may contain credentials. The working
 directory defaults to the caller's directory; environment values override
 the daemon's inherited application environment. Start from [`programOptions`](/en/haskell/latest/reference/libtmux-program-v-programoptions-pvb1/).

## Members

### Common operations

- [`bootstrapShell`](/en/haskell/latest/reference/libtmux-program-v-programoptions-bootstrapshell/) (record field): Bash with dynamic descriptors and timed reads; default `/bin/bash`. Checked before application creation.
- [`columns`](/en/haskell/latest/reference/libtmux-program-v-programoptions-columns/) (record field): 1 to 500 cells; default 80.
- [`commandTimeout`](/en/haskell/latest/reference/libtmux-program-v-programoptions-commandtimeout/) (record field): Each native command, positive and at most ten seconds; default one. The separate one-second bootstrap lease does not bound whole startup.
- [`executionTimeout`](/en/haskell/latest/reference/libtmux-program-v-programoptions-executiontimeout/) (record field): Whole owning setup/callback deadline, with a separate cleanup budget. Nothing imposes no overall deadline.
- [`historyLines`](/en/haskell/latest/reference/libtmux-program-v-programoptions-historylines/) (record field): 0 to 10000 lines, with at most one million cells; default 1000.
- [`outputLimit`](/en/haskell/latest/reference/libtmux-program-v-programoptions-outputlimit/) (record field): Returned rendered bytes, 1 to 1 MiB; default 65536.

### Other members

- [`arguments`](/en/haskell/latest/reference/libtmux-program-v-programoptions-arguments/) (record field): Literal non-NUL bytes; an empty list is valid.
- [`environment`](/en/haskell/latest/reference/libtmux-program-v-programoptions-environment/) (record field): Application overrides. Shell identifiers and reserved names are validated before launch.
- [`executable`](/en/haskell/latest/reference/libtmux-program-v-programoptions-executable/) (record field): Nonempty executable, resolved on the application's PATH when relative.
- [`ProgramOptions`](/en/haskell/latest/reference/libtmux-program-v-programoptions-kjhg/) (data constructor)
- [`rows`](/en/haskell/latest/reference/libtmux-program-v-programoptions-rows/) (record field): 1 to 200 cells; default 24.
- [`workingDirectory`](/en/haskell/latest/reference/libtmux-program-v-programoptions-workingdirectory/) (record field): Strict cwd; Nothing selects the caller's current directory.

## Guides

Pages that discuss `ProgramOptions`.

- [Run terminal applications](/en/haskell/latest/guides/programs/)
