Consider waiting for child processes before exit
Open
- Dominant language
- Python
- Stars
- 12
- Forks
- 6
- Avg merge
- 5d 18h
- Merged PRs (30d)
- 2
Description
In the case that the cmd starts child processes and exits before the children, duct will exit when the parent exits.
It might be good (though I am a little worried about adding complexity) to keep track of all the children pids, and wait for them to stop before we stop measuring.
Contributor guide
Research direction
Start by tracing how duct launches the command, handles child processes, and decides when measurement stops; the issue does not name specific files or tests. Define how child PIDs are tracked and what waiting means for process termination, then verify that duct does not stop measuring until the relevant children have stopped.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100