tmux.RunOptions
Go
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- tmux
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/session_run.go
-
RunOptions configures
Session.RunandSession.Start. Its zero value runs the command in a window tmux names, in the session's default directory and environment, and removes that window once the command has finished.
4 declared, 0 inherited
Members
- Environment attribute Environment is added to the command's environment. The map is not retained.
- Keep attribute Keep leaves the finished window in place, showing what the command printed, instead of removing it.
- StartDirectory attribute StartDirectory expands ~ and ~/... for the current user; empty inherits the session's default.
- WindowName attribute WindowName names the window the command runs in; empty lets tmux choose.