shenwei356 / rush

A cross-platform command-line tool for executing jobs in parallel
https://github.com/shenwei356/rush
MIT License
865 stars 63 forks source link

Ctrl+C logic improvement: check start times of known children #19

Closed bburgin closed 6 years ago

bburgin commented 6 years ago

To allow rush to stop child processes that have cleared their environment (but are not orphaned), match children by first checking the process start times of known child processes, then fallback to the env variable check.