[Haskell-cafe] haskell and releasing resources

David Waern davve at dtek.chalmers.se
Tue Feb 6 17:40:56 EST 2007


6 feb 2007 kl. 22.33 skrev Fawzi Mohamed:

>
> On Feb 6, 2007, at 8:39 PM, David Waern wrote:
>
>>> Wait for the process to terminate, using
>>>
>>>     waitForProcess pid
>>>
>>> I've a sketch for a nice wrapper for the low level process code  
>>> here,
>>>
>>>     http://www.cse.unsw.edu.au/~dons/code/newpopen/
>>
>> What's missing? I'd like to use it, but I don't like unreleased  
>> libraries :)
>
> I would use it just as tutorial, for real I would use
>
> http://software.complete.org/missingh/static/doc/System-Cmd-Utils.html
>
> if you need.

I just want  to get the output of a command as a String. In this case  
the newopen library is the simplest thing.

/David



More information about the Haskell-Cafe mailing list