First of all thank you for your plugin, it's been years that we use it.
We recently met an issue on our CI servers, where our test phase ends in success while protractor breaks due to an Out Of Memory error.
This is because the error code received in the plugin is null instead of being a positive integer, so the plugin exits like everything is ok when this happens, however we can see that the received signal is well 'SIGABRT'.
So I propose to exit with an error if the received code is strictly different from 0.
First of all thank you for your plugin, it's been years that we use it.
We recently met an issue on our CI servers, where our test phase ends in success while protractor breaks due to an Out Of Memory error. This is because the error code received in the plugin is null instead of being a positive integer, so the plugin exits like everything is ok when this happens, however we can see that the received signal is well 'SIGABRT'.
So I propose to exit with an error if the received code is strictly different from 0.
A post on stackoverflow where someone explain about the exit with a code null: https://stackoverflow.com/questions/39159312/child-process-exits-with-code-null
And an example of what the value code and signal are when an Out Of Memory error happens.