ProcessJob
Shared owned process-supervision boundary
Source and package
- Qualified name
-
LibTmux:: Process Job - Module
- LibTmux
- Package
- LibTmux
- Source
- packages/core/lib/LibTmux/ProcessJob.pm
- package Lib
Tmux:: ;Process Job
Members8#
- cancel method Request cleanup without blocking. Cancellation can follow dispatch and does not imply rollback or completed reaping.
- cleanup_complete method True only after a valid supervisor result proves owned program cleanup.
- consume method Accumulate bounded result octets. Malformed or excessive data is a failure.
- finish method Decode the complete result after EOF and supervisor exit. Return one
LibTmux::CommandResultor throw a typed error. - pid method Return the supervisor PID. It differs from the program PID.
- start method Start a supervised literal command using the same arguments as
"run" in LibTmux::Transport. This explicit operation performs I/O. - take_result_handle method Transfer the result pipe exactly once. Its reader owns closing that handle.
- wait method The synchronous reader/reaper. A loop-owned job refuses blocking wait. Async adapters supply a spawn/reap callback and retain jobs through EOF plus the matching exit notification. Dropping a job closes its parent guard but does not synchronously wait; owners must complete their cleanup protocol.