Skip to content

exitkills doesn't pass the error code #25

@spion-h4

Description

@spion-h4

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.

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();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions