[Pharo-users] [ANN] OSSubprocess first milestone

Mariano Martinez Peck marianopeck at gmail.com
Fri Jan 15 11:13:05 EST 2016


Luc, Damien, et all.

I implemented the kind of API Luc suggested, which was a great idea. I took
also his API to answer Damien question of could we do a "tail -f" example.
So I made a little example where I run "tail -f system.log" and I keep a
Playground updated with the stdout :)
Here is the video:

https://dl.dropboxusercontent.com/u/6980943/tailExample.mov

Let me know what do you think.

Cheers,


On Fri, Jan 15, 2016 at 10:51 AM, Mariano Martinez Peck <
marianopeck at gmail.com> wrote:

>
>>
>> defaultReadStreamCreationBlock: [ process
>> createTempFileToBeUsedAsReadStreamOn: '/tmp' ];
>>
>> In the readme, the piece of code containing that is a bit suspicious
>> because it depends on the fact that the block is evaluated after the
>> variable 'process' is assigned.
>>
>
> Thanks, fixed!
>  I always hated the instance side nature of those methods, so I moved them
> to class side.
>
>
>
>
>> --
>> Damien Cassou
>> http://damiencassou.seasidehosting.st
>>
>> "Success is the ability to go from one failure to another without
>> losing enthusiasm." --Winston Churchill
>>
>>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>



-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20160115/034ef81e/attachment.html>


More information about the Pharo-users mailing list