PaneCommand.awaitShellStart
Waits for a pane that was just created to start its shell, and says whether it had to.
Source and package
- Qualified name
-
io.github .libtmux .Pane Command. await Shell Start - Package
- io.github.libtmux
- Declared in
PaneCommand- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/PaneCommand.java
-
Description
Between fork and exec the process in a pane's terminal is the server's own copy, so tmux names the pane
tmuxuntil its shell starts. A read of the pane's command taken in that window is out of date once this returnstrue, and has to be taken again. A pane still namedtmuxafter the wait is left for the caller's shell check to refuse.- Parameters
- Returns
-
whether the pane was waited for, so that
currentis stale - Errors
-
-
Interrupted
Exception – if the waiting thread is interrupted
-
Recorded calls
source callsThe Java reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls io.github.libtmux.PaneCommand.awaitShellStart.