Skip to content

Specific exit code for MWI_SHUTDOWN_ON_IDLE_TIMEOUT timeout #91

Description

@maben-mw

Details of the feature

Please make matlab-proxy-app exit with a specific (non-zero) exit code when it exits with a timeout (MWI_SHUTDOWN_ON_IDLE_TIMEOUT).

  1. At the moment it simply returns 0 which actually does not "feel" right, surely a timeout is not a normal successful exit of the application, is it?

  2. I want to use the proxy in a cloud use-case where (to save cloud costs) I want to be able to shutdown the machine if an idle timeout occurs. But the shutdown for example should not happen if matlab-proxy-app exited unexpectedly (in which case I want to just try restarting the proxy) or if the user clicked the "Shut down" option (currently also return 0, which does seem right, the user asked to exit and it did), in the web interface (I may want to do something else then). I can do all the scripting around this myself... if only I had a way to reliably know whether the process exited due to the idle timeout or not.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions