[erlang-questions] Escript and spawn

Erik de Castro Lopo <>
Sat Apr 28 03:33:47 CEST 2007


jm wrote:

> First the warning: I haven't used escript.

Ok :-).
 
> What happens if you change ?MODULE to test,

At least it compiles, but then has a different problem:

    =ERROR REPORT==== 28-Apr-2007::11:32:54 ===
    Error in process <0.28.0> with exit value: {undef,[{test,new_process,[]}]}

Erik
-- 
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"C makes it easy to shoot yourself in the foot. C++ makes it 
harder, but when you do, you blow away your whole leg!"
-- Bjarne Stroustrup



More information about the erlang-questions mailing list