Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-go latest

Running.Kill

Kill asks the tmux server to send SIGKILL to the process group running the command. It does not wait for the process to stop; call Wait to observe the resulting status or signal.

Source and package
Qualified name
tmux.Running.Kill
Package
tmux
Declared in
Running
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/session_run.go

Description#

Kill runs through Server.RunShell with the pane as its target, so tmux resolves the process group id itself, at the moment it runs, on whatever host the server is on, rather than trusting a process id this program read earlier. A pane that no longer exists makes that id resolve empty and Kill a no-op; Kill reports only whether tmux could dispatch the request, not whether a process still existed to receive it.

Parameters

tmux command#

The tmux commands behind Kill.

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference