Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Go API

Go documentation

tmux.RunOptions

Go
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
tmux
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/session_run.go
struct tmux.RunOptions
struct [source]
struct [source]
struct tmux.RunOptions

RunOptions configures Session.Run and Session.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.
Esc

Type to search.