-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(emissary): signal SIGINT/SIGTERM in windows correctly
emissary tries to send a signal but `os/Process.Kill` only supports sending SIGKILL and returns an error for all other cases. Using code found in hcsshim this changes signal handling in emissary for windows by translating SIGINT and SIGTERM to their appropriate windows signal and sending it to the process. Signed-off-by: Michael Weibel <michael@helio.exchange>
- Loading branch information
Showing
1 changed file
with
114 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters