rpc:call on windows 2000
Raimo Niskanen
<
>
Mon Oct 11 09:32:05 CEST 2004
Well, rpc:call/4 is so smart it sets the group leader of the call
evaluating process to the same as the caller of rpc:call/4, so
io:format calls and other calls writing to stdout will write
on your console.
Try erlang:display/1 instead.
(micke) writes:
> I have a problem with getting two erl's talk on the same machine...
>
> In dos-window one I do:
> ----------------------------------------------
> D:\Program Files\erl5.3.6.3\bin>erl -name pong
>
> (
)6> [node()| nodes()].
>
> ['
','
']
>
>
> ==============================================
> In dos-window two I do:
> ----------------------------------------------
> D:\Program Files\erl5.3.6.3\bin>erl -name ping
>
> (
)21> rpc:call( '
', io,
> format, ['asdfasdasd']).
> asdfasdasdok
>
> (
)22> rpc:call( '
', io,
> format, ['asdfasdasd']).
> asdfasdasdok
>
>
> QUESTION: The call goes back to the same window, any clues on what the problem
> is ?
>
>
--
/ Raimo Niskanen, Erlang/OTP, Ericsson AB
More information about the erlang-questions
mailing list