newby: erl in a batch

Luc Taesch <>
Wed Jul 19 09:03:10 CEST 2000

Id like to have erlang started in a batch, and execute, say

1) should I create a start() function, and should cot2dot be a server

2) how can i read the arguments passed on the command line (argc, argv
in C),
so i can do
xxx 1 2 3
if xxx is a batch doing erl -scot2dot $1 $2 $3 , and read 1 2 3?

3) how can i improve any performance a load time, like suppressing the
load of .erlang, and should i have the beam in the current dir, or where

are where could i find these things  in the doc ?


First, they ignore you.
Then, they laught at you.
Then, they fight you.
Then, you win.

--- Gandhi.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the erlang-questions mailing list