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

Boris Mühmer boris.muehmer@REDACTED
Wed Sep 8 16:29:31 CEST 2010


2010/9/8 Tuncer Ayaz <tuncer.ayaz@REDACTED>:
> 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