erl_call
Serge Aleynikov
serge@REDACTED
Sun Oct 16 18:46:44 CEST 2005
Attached please find a patch to erl_call utility that accomplishes the
following:
- added support for using SSH for remote start of a node (-ssh option)
- added an ability to do a pattern match on a result of an function
call using -a option. erl_call will exit with 0 if pattern match
succeeded and with 1 otherwise. Extended syntax:
-a 'Pattern = Mod:Fun(Args)'
E.g.:
-a '{_, _, _} = erlang:now()'
There are still quite a few /* FIXME */ comments in the original source
of erl_call.c. Are they going to be addressed anytime soon?
I hope that this patch can make it in the distribution.
Serge
--
Serge Aleynikov
R&D Telecom, IDT Corp.
Tel: (973) 438-3436
Fax: (973) 438-1464
serge@REDACTED
-------------- next part --------------
A non-text attachment was scrubbed...
Name: erl_call.patch.tar.gz
Type: application/x-gzip
Size: 17740 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20051016/cdc432d5/attachment.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: erl_call.patch
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20051016/cdc432d5/attachment.ksh>
More information about the erlang-questions
mailing list