Documentation ¶
Overview ¶
Package proc with functions to assist plugins
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Stop ¶
Stop a process, wait until timeout This first tries using SIGTERM. If the timeout expires then try Kill. If kill also fails then return an error. Returns nil if the process is not running after the timeout This returns an error when the process fails to stop after the timeout.
func WaitForSignal ¶
func WaitForSignal()
WaitForSignal waits until a TERM or INT signal is received Intended for use by hub services to run until the app is done
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.