[erlang-questions] What's the best way to interface with the shell/console?

Richard Carlsson <>
Sat Jun 6 12:18:31 CEST 2009

G.S. wrote:
> What's the fastest and best way to write console/shell commands through the
> interpreter ? (for linux).

I guess you want os:cmd("..."), as in:

1> os:cmd("ls").


 "Having users is like optimization: the wise course is to delay it."
   -- Paul Graham

More information about the erlang-questions mailing list