saleyn / erlexec

Execute and control OS processes from Erlang/OTP
https://hexdocs.pm/erlexec/readme.html
Other
527 stars 139 forks source link

Stopping the erlexec application results in shutdown_error #105

Closed ruttenberg closed 6 years ago

ruttenberg commented 6 years ago

application:stop(erlexec)

results in an error like this: [error] <0.239.0> Supervisor exec_app had child exec started with exec:start_link([]) at <0.240.0> exit with reason killed in context shutdown_error

Is there a way to prevent this?

saleyn commented 6 years ago

This is a standard behavior by design - shutting down the system propagates the shutdown to all children.

ruttenberg commented 6 years ago

Propagating the shutdown to all children is not a problem. Is there a way to prevent the 'shutdown_error'?

saleyn commented 6 years ago

Can you give exact steps to reproduce the error?

shutdown_error is reported by standard stdlib's supervisor under certain conditions.

saleyn commented 6 years ago

Is this still a problem? If so, please provide steps to reproduce.

ruttenberg commented 6 years ago

The related project has been suspended for a while. I will close the issue and re-open when it becomes relevant again. Thanks.