Learn R Programming

processx (version 3.8.5)

supervisor_kill: Terminate all supervised processes and the supervisor process itself as well

Description

On Unix the supervisor sends a SIGTERM signal to all supervised processes, and gives them five seconds to quit, before sending a SIGKILL signal. Then the supervisor itself terminates.

Usage

supervisor_kill()

Arguments

Details

Windows is similar, but instead of SIGTERM, a console CTRL+C interrupt is sent first, then a WM_CLOSE message is sent to the windows of the supervised processes, if they have windows.