Add pane_pipe_pid with pipe fd and call setpgid to make it easier to kill.

This commit is contained in:
nicm
2026-03-05 09:22:08 +00:00
parent 6d37cc94a7
commit 1e208abd93
4 changed files with 20 additions and 1 deletions

1
tmux.1
View File

@@ -6323,6 +6323,7 @@ The following variables are available, where appropriate:
.It Li "pane_path" Ta "" Ta "Path of pane (can be set by application)"
.It Li "pane_pid" Ta "" Ta "PID of first process in pane"
.It Li "pane_pipe" Ta "" Ta "1 if pane is being piped"
.It Li "pane_pipe_pid" Ta "" Ta "PID of pipe process, if any"
.It Li "pane_right" Ta "" Ta "Right of pane"
.It Li "pane_search_string" Ta "" Ta "Last search string in copy mode"
.It Li "pane_start_command" Ta "" Ta "Command pane started with"