Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
Cmd wraps exec.Cmd with graceful process termination via SIGTERM.
func (*Cmd) Run ¶
Run starts the command and waits for it to exit. Non-file output writers go through pipes owned by Run (pipeOutputs), so a background descendant still attached to stdout cannot prolong the wait; WaitDelay is only the grace period between the cancellation SIGTERM and the forced kill.
Click to show internal directories.
Click to hide internal directories.