[erlang-questions] Erlang module for "controlling" (linux/unix) commands?

Boris Mühmer <>
Wed Sep 8 16:29:31 CEST 2010


2010/9/8 Tuncer Ayaz <>:
> On Wed, Sep 8, 2010 at 4:22 PM, Tuncer Ayaz wrote:
>> On Wed, Sep 8, 2010 at 4:09 PM, Boris Mühmer wrote:
>>> [...]
>> Take a look at erlang:open_port/2.
> [...]
>> The exit code will be delivered as a message:
>> receive
>>    {Port, {data, ...}} -> ...
>>    {Port,{exit_status,Status}} -> ...
>> end

Thanks, I think that is what I was looking for!


  - boris


More information about the erlang-questions mailing list