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 < marianop...@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