# LibTmux.Workspace.WorkspaceHostCommand

- **Module:** LibTmux.Workspace
- **Package:** LibTmux.Workspace
- **Language:** C#
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux.Workspace/WorkspaceHostCommand.cs#L9
- **Page:** https://libtmux.org/en/csharp/latest/workspace/reference/libtmux-workspace-workspacehostcommand/

Describes one explicitly enabled host shell command.

Execution uses /bin/sh -c with the supplied directory and environment. Shell
effects cannot be rolled back. Descendants that detach or outlive their shell
are outside containment.

## Members

### Other members

- `Environment` (property): Gets the explicit environment; execution does not inherit process variables.
- `MaxOutputBytes` (property): Gets the combined stdout and stderr capture limit in bytes.
- `Script` (property): Gets the literal command passed to /bin/sh -c.
- `Timeout` (property): Gets the deadline for process exit and output completion.
- `WorkingDirectory` (property): Gets the absolute directory in which the command runs.
