phylum-dev / cli

Command line interface for the Phylum API
https://phylum.io
GNU General Public License v3.0
99 stars 10 forks source link

CLI should kill parsing subprocess on shutdown #1370

Closed cd-work closed 2 months ago

cd-work commented 4 months ago

If the parsing of a lockfile is taking too long and the user kills phylum, it keeps parsing in the background due to our process separation.

Ideally when ctrl+c is pressed, all phylum processes associated with the invocation should be killed.

cd-work commented 4 months ago

This also affects runSandboxed in the extension API.