Propagate signals to subprocess #1154

Open
opened 2023-09-07 16:13:47 +02:00 by dacevedo12 · 0 comments
dacevedo12 commented 2023-09-07 16:13:47 +02:00 (Migrated from github.com)

In non-interactive environments, signals are sent to the container's main process under certain circumstances.

I.e, kubernetes sends a SIGTERM which can be handled to gracefully shutdown applications before the pod gets stopped

Given that makes is the main process, it should propagate those signals to the underlying application being executed

https://github.com/fluidattacks/makes/blob/main/src/cli/main/cli.py#L477

In non-interactive environments, signals are sent to the container's main process under certain circumstances. I.e, kubernetes sends a SIGTERM which can be handled to gracefully shutdown applications before the pod gets stopped Given that makes is the main process, it should propagate those signals to the underlying application being executed https://github.com/fluidattacks/makes/blob/main/src/cli/main/cli.py#L477
This discussion has been locked. Commenting is limited to contributors.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
justin/makes#1154
No description provided.