method libtmux-dotnet latest
Server.IfShellAsync
Runs one tmux command or another depending on a shell command.
Source and package
- Module
- LibTmux
- Declared in
- Server
- Package
- LibTmux
- Source
- src/LibTmux/Server.Execution.cs
- Other languages
- Python Ruby Lua TypeScript Rust GoJava C++ Swift Kotlin Scala F#
- IfShellAsync ( request : If
Shell , cancellationToken : CancellationRequest Token ) Task -
- Parameters
-
-
request ( If
Shell ) – What to test, and what to run either way.Request -
cancellationToken ( Cancellation
Token ) – Cancels the tmux command.
-
tmux command
if-shellIn other ports Run one tmux command or another, on a shell test
- Python
libtmux.Server.if_shell - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript
server.Server.ifShell - Rust no equivalent on
Server - Go
tmux.Server.IfShell - Java
io.github.libtmux.Shell.choose - C++ no equivalent on
Server - Swift no equivalent on
Server - Kotlin No source-verified Kotlin equivalent is recorded for this operation.
- Scala No source-verified Scala equivalent is recorded for this operation.
- F# No source-verified F# equivalent is recorded for this operation.