Skip to content

Conversation

@anton-matosov
Copy link

@anton-matosov anton-matosov commented Dec 26, 2025

Fork of #632, rebased on latest rolling branch.
What changed: Fix all type issues and missing null checks

Original message

Fixes #545.

I used psutil to figure out children of a process recursively.
It's an easy way to handle this issue platform independently.

For posix OSs, we could send a signal to the process group, but for that we should create a new process group when launching a process, which I'm not sure if it's the best ideal.

ivanpauno and others added 22 commits December 5, 2022 12:34
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
Signed-off-by: Anton Matosov <anton.matosov@gmail.com>
Signed-off-by: Anton Matosov <anton.matosov@gmail.com>
Signed-off-by: Anton Matosov <anton.matosov@gmail.com>
@anton-matosov anton-matosov force-pushed the ivanpauno/kill-dangling-subprocesses branch from 64bda1f to bdd7410 Compare December 26, 2025 02:23
Signed-off-by: Anton Matosov <anton.matosov@gmail.com>
Signed-off-by: Anton Matosov <anton.matosov@gmail.com>
@anton-matosov anton-matosov marked this pull request as ready for review December 27, 2025 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

launch not killing processes started with shell=True

3 participants