Could you wrap the process into an NSTask and use pipes to communicate?

Terry
On 6/12/2011, at 11:43 AM, Rob Ista wrote:

> Hi, i have broken my braincells while trying to find a simple solution for 
> interrupting a potentially long running calculation loop. 
> A key event seems to wait until the app gets back to the main loop, a 
> system("stty raw -echo") just hangs, gets and read.non-block either wait or 
> want a enter to follow any character. I couldn't get it working with a 
> notification either. I just can't find it :) .. Any help appreciated .. tnx, 
> Rob
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to