tmux.Server.IfShell
Go
- Python
- Ruby Unavailable
- Lua Unavailable
- TypeScript
- Rust Unavailable
- Go
- Java
- .NET
- C++ Unavailable
- Swift Unavailable
- Module
- tmux
- Declared in
- Server
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/server_exec.go
- Other languages
- Python Ruby Lua TypeScript Rust Java.NET C++ Swift
- IfShell ( ctx : context.Context , request : IfShellRequest ) error
-
IfShell executes ThenCommand when ShellCommand succeeds and ElseCommand, if present, when it fails. A completed stderr result is an error; cancellation can interrupt delivery without proving that tmux did not execute a branch.
In 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 - Java
io.github.libtmux.Server.Server.ifShell - .NET
LibTmux.Server.IfShellAsync - C++ no equivalent on
Server - Swift no equivalent on
Server
- Python
0 declared, 0 inherited