[erlang-questions] how to call os:cmd("ls") from shell?
Jeremy Chow
erlanging@REDACTED
Wed Jul 11 08:06:43 CEST 2007
hi list,
I fellowed the otp document, but it failed.
# erl -s os cmd ls
Erlang (BEAM) emulator version 5.5.5 [source] [async-threads:0] [hipe]
[kernel-poll:false] [lock-checking]
{"init terminating in
do_boot",{function_clause,[{os,validate1,[[ls]]},{os,cmd,1},{init,start_it,1},{init,start_em,1}]}}
Crash dump was written to: erl_crash.dump
Thx,
Jeremy
More information about the erlang-questions
mailing list