[erlang-questions] Waiting for a node to start using run_erl

Yash Ganthe yash_ganthe@REDACTED
Sat Jun 29 15:42:22 CEST 2013


Hi,

When staring an erl node using run_erl, if the -daemon switch is used, control returns to the terminal immediately without letting me know whether the node was really started.
The switch is recommended in the documentation at: http://erlang.org/doc/man/run_erl.html

It says: Without this option, run_erl must be started using several tricks in the shell to detach it completely from the terminal in use when starting it.

Is there a way to use run_erl and ensure that the node is started. This would be especially useful when starting the node from a shell script using run_erl.

Thanks,
Yash

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130629/d378ade7/attachment.htm>


More information about the erlang-questions mailing list