maoe / sensu-run

A tool to send command execution results to Sensu
BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

Kill child process with SIGKILL on POSIX #6

Closed maoe closed 7 years ago

maoe commented 7 years ago

This closes #5.

terminalteProcess on POSIX systems doesn't guarantee that the process being terminated is actually killed. This PR fixes the issue by sending kill -9 to the process.