Gergely Borsothy-Gaal
Results
2
issues of
Gergely Borsothy-Gaal
I rather rescue the exception, since checking the status of the process would probably introduce another race condition.
If the SIGINT trap [here](https://github.com/aws/aws-flow-ruby/blob/master/aws-flow/lib/aws/runner.rb#L341) happens to start between [these two lines](https://github.com/aws/aws-flow-ruby/blob/master/aws-flow/lib/aws/runner.rb#L351-L352), the `workers` array possibly contains process IDs belonging to already stopped processes. This results in an `Errno::ESRCH` exception....