Server.probe_command/1
Builds a command that prints the daemon's identity or a literal reply.
Source and package
- Qualified name
-
LibTmux .Server. probe _command/1 - Module
- LibTmux
- Declared in
Server- Package
- libtmux
- Source
- lib/libtmux/server.ex
-
Description
:daemon_identityprints the native PID and start time in Unix seconds, separated by a space.{:literal, text}prints 1–128 printable ASCII bytes. Both end with one newline. Construction performs no I/O and raisesArgumentErrorfor an invalid input.Keep the native
list-commandscommand unaliased. The required tmux releases define noafter-list-commandshook.run/3runs the probe on an existing daemon.LibTmux.Command.render/2can also put the command into a trusted conditional. The surrounding commands keep their own hooks.
Recorded calls
source callsThe Elixir 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 LibTmux.Server.probe_command/1.