libtmux Reference MCP Search
On this page

server.Server.spawn_shell

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.