Workspace ManagerconceptAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

Concept example A working example of the core library. It can change without notice. What concept means

LibTmux.Workspace.WorkspaceHostCommand

class LibTmux.Workspace.WorkspaceHostCommand

Describes one explicitly enabled host shell command.

Description

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.

Properties5

WorkspaceHostCommand properties
NameTypeDescription
Script string Gets the literal command passed to /bin/sh -c.
WorkingDirectory string Gets the absolute directory in which the command runs.
MaxOutputBytes int Gets the combined stdout and stderr capture limit in bytes.
Timeout TimeSpan Gets the deadline for process exit and output completion.
Environment IReadOnlyDictionary<string, string> Gets the explicit environment; execution does not inherit process variables.
Esc
Search in

Type to search.

Reference previewOpen reference