[erlang-questions] Run external program with arguments

Bjorn Gustavsson <>
Wed Nov 14 15:50:26 CET 2007


Alexander Zhukov <> 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"}, []).

/Bjorn
-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list