On this page
LibTmux.IfShellRequest.IfShellRequest
- Module
- LibTmux
- Declared in
- IfShellRequest
- Package
- LibTmux
- Source
- src/LibTmux/Requests/IfShellRequest.cs
- IfShellRequest ( shellCommand : string , thenCommand : IReadOnlyList<string> , elseCommand : IReadOnlyList<string>? , background : bool , targetPane : string? )
-
Initializes a conditional command.
- Parameters
-
-
shellCommand ( string ) – The shell command whose success decides.
-
thenCommand ( IReadOnlyList<string> ) – The tmux command run when it succeeds.
-
elseCommand ( IReadOnlyList<string>? ) – The tmux command run when it fails, when any.
-
background ( bool ) – Whether tmux runs the shell command without waiting.
-
targetPane ( string? ) – The pane the commands run against.
-
0 declared, 0 inherited