[erlang-questions] Prompting before closing shell

Taavi Talvik <>
Wed Mar 7 12:45:26 CET 2007


On Mar 7, 2007, at 1:24 PM, Ludovic Coquelle wrote:

> I don't know the answer to your question ... but I would probably  
> do something like:
> - running the server in a dedicated named shell
> - open a new shell for the user to communicate with the server  
> shell when needed
> oh ... maybe I didn't understood your problem ;)
>
> On 3/7/07, Surindar Sivanesan < > wrote:
> Dear all,
> The question might be silly.
> We have developed a server application in erlang that need to be  
> run throughout the day.
> We are using Windows Server 2003 as server. If we are closing the  
> erlang shell which is running in the server, it will not give any  
> warning message.
> Is it possible to give a warning message before closing the erlang  
> shell?
> Your inputs are welcome.
> Thanks in advance.

Does running erlang as service help?

http://www.erlang.org/doc/doc-5.5.3/erts-5.5.3/doc/html/erlsrv.html

best regards,
taavi





More information about the erlang-questions mailing list