[erlang-questions] spawning processes

Pablo Vieytes <>
Thu Aug 2 10:00:17 CEST 2012


Hello everybody,
I've been reading you for a long time but this is my first message.

I don't know how to spawn a process with args without export it. is there
any way to do that?

For funs without args  you can do spawn(fun_in_the_same_mod/0). Another
option is to use spawn(Module, Function, Args) but  Function should be
exported although it's in the same mod.

Any suggestion?

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120802/22637217/attachment.html>


More information about the erlang-questions mailing list