-
Notifications
You must be signed in to change notification settings - Fork 31
exitkills doesn't pass the error code #25
Copy link
Copy link
Open
Description
It would be useful if the error code of the process is passed as the error code of chaperone if exitkills is enabled for a process.
chaperone/chaperone/cproc/subproc.py
Lines 560 to 572 in 9ff2c3a
| def process_exit(self, code): | |
| self.returncode = code | |
| if self._exit_event: | |
| self._exit_event.set() | |
| self._exit_event = None | |
| if self.exit_kills: | |
| self.logwarn("{0} terminated with exit_kills enabled", self.service.name); | |
| # Since we're dead, and the system is going away, disable any process management | |
| self._proc = None | |
| self.pid = None | |
| self._kill_system(); |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels