atlassian / bazel-tools

Reusable bits for Bazel
Apache License 2.0
113 stars 36 forks source link

Handle SIGTERM error when the process already finished #114

Closed mskonovalov closed 4 years ago

mskonovalov commented 4 years ago

fix for part 1 of https://github.com/atlassian/bazel-tools/issues/113

when interrupt signal is sent the child process might be almost finished. So sending SIGTERM to it may result in Error os: process already finished. I think it is a legit situation. We need to handle this error as a success case. (will send out a PR for it)

atlassian-cla-bot[bot] commented 4 years ago

Hooray! All contributors have signed the CLA.