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

Rust API

Rust documentation

server.Server.spawn_shell

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

View as Markdown

Module
server
Declared in
Server
Package
libtmux
Source
crates/libtmux/src/server.rs
spawn_shell ( self , command : impl Into<OsString> ) → Result<(), Error>
method [source]
method [source]
spawn_shell

Run a shell command in the background and return immediately.

Success means tmux accepted the command, not that it finished or succeeded. Nothing is captured.

Errors

Returns an error when tmux refuses to enqueue the command.

0 declared, 0 inherited

Esc

Type to search.