Launch and executable file inside an Erlang Program
Salvador Alcaraz
salcaraz@REDACTED
Sat Jun 30 19:43:55 CEST 2001
The complete sintax of os:cmd/1 is:
CommandOut = os:cmd(command),
for example:
CommandOut = os:cmd("ls"),
execute the 'ls' command (I think, in background) and return the result as
a string.
I need that the command/application opens a new shell, execute its
instrucctions and when finish, it close the shell and return to Erlang
program.
Is it possible?
Thank you
salva
On Sat, 30 Jun 2001, HÃ¥kan Stenholm wrote:
> Why not use os:cmd/1, this will run a.out or any other
> command/application in unix.
>
More information about the erlang-questions
mailing list