# LibTmux.Creation.InitialProcess

- **Package:** libtmux-haskell
- **Language:** Haskell
- **Kind:** data type
- **Source:** https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/src/LibTmux/Creation.hs#L34
- **Page:** https://libtmux.org/en/haskell/latest/reference/libtmux-creation-t-initialprocess/

```haskell
data InitialProcess
```

Initial pane process, retaining tmux's distinct execution modes.
 A native argv needs at least one argument after the executable because tmux
 treats a single entry as shell input. [`DirectCommand`](/en/haskell/latest/reference/libtmux-creation-v-directcommand/) encodes that condition.

## Instances

- instance [Eq](https://hackage.haskell.org/package/base-4.22.0.0/docs/Data-Eq.html#t:Eq) [`InitialProcess`](/en/haskell/latest/reference/libtmux-creation-t-initialprocess/) ([Source](https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/src/LibTmux/Creation.hs#L38))

## Members

### Common operations

- [`DefaultProcess`](/en/haskell/latest/reference/libtmux-creation-v-defaultprocess/) (data constructor): Use tmux's configured default-command or default shell.
- [`DirectCommand`](/en/haskell/latest/reference/libtmux-creation-v-directcommand/) (data constructor): Execute the program and argv directly.
- [`ShellCommand`](/en/haskell/latest/reference/libtmux-creation-v-shellcommand/) (data constructor): Native shell-command bytes; an empty split command creates a processless pane.

## Referenced declarations

- [`LibTmux.Creation.InitialProcess`](/en/haskell/latest/reference/libtmux-creation-t-initialprocess/) (data type)

## Guides

Pages that discuss `InitialProcess`.

- [Create sessions, windows and panes](/en/haskell/latest/guides/creation/)
