AutoKill process
Hello
In some case it might be impossible to manage process from IDE
Would be nice to have a way for dcd-server to autokill if client fails to send a KeepAlive message after x sec/min/hour
Proposition:
A new param: --keep-alive-req 5000
If using this param, dcd-server will require a KeepAlive message every 5000 milliseconds, or it'll auto kill
Which IDE doesn't allow this? How would you start the process for use in the IDE?
I guess just a kill command instead wouldn't work, as then dcd-server would still be alive if the IDE closes without sending the kill command?
if the IDE crashes or doesn't have a shutdown signal (because it's only a plugin) this would be useful for example
No need for a keepalive / timer, you can use stdin for this. If a command-line switch is present and stdin is closed (EOF), then it's time to exit. Then the IDE doesn't have to worry about telling DCD to shut down at all.
sorry it was closed by error