[erlang-questions] Erlang module for "controlling" (linux/unix) commands?
Zoltán Bán
<
>
Wed Sep 8 16:16:02 CEST 2010
os:cmd("ls /nodir >/dev/null 2>&1; echo $?").
cheers
Z
-----Original Message-----
From:
[mailto:
] On Behalf Of Boris Mühmer
Sent: den 8 september 2010 16:10
To: erlang-questions
Subject: [erlang-questions] Erlang module for "controlling" (linux/unix) commands?
Is there a module for controlling (linux/unix) "shell" commands?
I am looking for something more "special" than "os:cmd/1", because I need to get the exit code of the command.
Thanks in advance,
- boris
________________________________________________________________
erlang-questions (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:
More information about the erlang-questions
mailing list