rpc:call on windows 2000

Raimo Niskanen raimo@REDACTED
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@REDACTED (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
> 
> (pong@REDACTED)6> [node()| nodes()].
> 
> ['pong@REDACTED','ping@REDACTED']
> 
> 
> ==============================================
> In dos-window two I do:
> ----------------------------------------------
> D:\Program Files\erl5.3.6.3\bin>erl -name ping
> 
> (ping@REDACTED)21> rpc:call( 'ping@REDACTED', io, 
> format, ['asdfasdasd']).
> asdfasdasdok
> 
> (ping@REDACTED)22> rpc:call( 'pong@REDACTED', 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