Server.spawn_shell
Run a shell command in the background and return immediately.
Source and package
- Qualified name
-
libtmux::server:: Server:: spawn _shell - Module
- server
- Declared in
Server- Package
- libtmux
- Source
- crates/libtmux/src/server.rs
-
Description#
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.
tmux command#
The tmux commands behind spawn_shell.
tmux C API#
The C declarations in tmux that implement these commands.