[erlang-questions] Run external program with arguments

Bjorn Gustavsson bjorn@REDACTED
Wed Nov 14 15:50:26 CET 2007

Alexander Zhukov <azhukov@REDACTED> writes:

> In summary, os:cmd does not allow to communicate with called program,
> and open_port does not allow to specify arguments to run program with.

open_port({spawn,"ls -l"}, []).

Björn Gustavsson, Erlang/OTP, Ericsson AB

More information about the erlang-questions mailing list