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).
-
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?
-
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.
Details of the feature
Please make
matlab-proxy-appexit with a specific (non-zero) exit code when it exits with a timeout (MWI_SHUTDOWN_ON_IDLE_TIMEOUT).At the moment it simply returns
0which actually does not "feel" right, surely a timeout is not a normal successful exit of the application, is it?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.