# LibTmux.RunShellRequest.RunShellRequest

- **Module:** LibTmux.RunShellRequest
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Requests/RunShellRequest.cs#L17
- **Page:** https://libtmux.org/reference/dotnet/libtmux-runshellrequest-runshellrequest/

```
LibTmux.RunShellRequest.RunShellRequest(command: string, arguments: IReadOnlyList<string>?, background: bool, delay: TimeSpan?, asTmuxCommand: bool, targetPane: string?, workingDirectory: string?, showStandardError: bool)
```

Initializes a shell command.

## Parameters

- `command` (string) — The command to run.
- `arguments` (IReadOnlyList<string>?) — Arguments passed to it without a shell in between.
- `background` (bool) — Whether tmux returns without waiting for it.
- `delay` (TimeSpan?) — How long tmux waits before starting it.
- `asTmuxCommand` (bool) — Whether the text is a tmux command rather than a shell one.
- `targetPane` (string?) — The pane the command runs against.
- `workingDirectory` (string?) — The directory it starts in.
- `showStandardError` (bool) — Whether its error output is shown too.
