LibTmux.Workspace.WorkspaceFile.WorkspaceFile
- LibTmux.Workspace.WorkspaceFile.WorkspaceFile ( sessionName : string? , startDirectory : string? , options : IRead
Only <string, string>? , windows : IReadDictionary Only <WorkspaceList Window >? , beforeScript : string? , globalOptions : IReadOnly <string, string>? )Dictionary -
Initializes a workspace description.
- Parameters
-
-
sessionName ( string? ) – The session name.
-
startDirectory ( string? ) – The directory its windows start in.
-
options ( IRead
Only <string, string>? ) – The session options to set.Dictionary -
windows ( IRead
Only <WorkspaceList Window >? ) – The windows to create, in order. -
beforeScript ( string? ) – The host command retained for explicitly enabled execution.
-
globalOptions ( IRead
Only <string, string>? ) – The global session options to set before creating the declared windows.Dictionary
-
- Raises
-
-
Argument
Exception – The host command is blank or contains NUL.
-