Problems with erl_call

Simon Hillerbring simon.hillerbring@REDACTED
Wed Oct 6 10:16:34 CEST 2010


Hi,
I have problems using erl_call with negative integers in the argument
list for -a.
Is there a way around this problem?

/Simon

Example:
I have no problems with integer_to_list(1), but I get no reply at all
for integer_to_list(-1):
sol:~> erl_call -c COOKIE -sname test@REDACTED -a 'erlang integer_to_list
[1]'
"1"sol:~> erl_call -c COOKIE -sname test@REDACTED -a 'erlang
integer_to_list [-1]'
sol:~>

I see no problems when I run it with -v, but the call seems to
disappear:
sol:~> erl_call -c COOKIE -sname test@REDACTED -a 'erlang integer_to_list
[-1]' -v
erl_call: node = test@REDACTED
Cookie = COOKIE
flags =  verbosep
module: name =  , size = 0
apply = erlang integer_to_list [-1]
erl_call: we are now connected to node "test@REDACTED"
erl_call: module = erlang, function = integer_to_list, args = [-1]
sol:~>


More information about the erlang-questions mailing list