[futurebasic] Re: [FB] Line Input

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2016 : Group Archive : Group : All Groups

From: Bernie <bernie.fblist@...>
Date: Fri, 4 Nov 2016 04:52:07 +0000
Steve’s demo uses code found on the internet. Does his demo work?  I haven’t got TM running here, so can’t check.

Does the earlier NSThread demo work?


btw, I suspect there’s a CFRelease problem in the two examples I posted.


> On 4 Nov 2016, at 01:51, Rich Love <carnationsoftware@...> wrote:
> 
> That is a nice example.
> 
> I can’t figure out how to make it work with an open “Unix” command.
> 
> The example shows the command as
> command = @"log show --predicate 'subsystem == \"com.apple.TimeMachine\"' --info | grep 'upd: (' | cut -c 1-19,140-999”
> 
> But that command does not really get executed and seems to do nothing
> 
> Rich
> 
>> On Nov 3, 2016, at 5:44 AM, Bernie <bernie.fblist@...> wrote:
>> 
>> Steve wrote:
>> 
>>> 
>>> This example was modified from a Stack Overflow question and shows another approach fwiw:
>>> http://stackoverflow.com/questions/24961725/how-can-i-run-a-nstask-in-the-background-and-show-the-results-in-a-modal-nswindo
>>> 
>> 
>> Yep. Nice.
>> 
>> Here’s how it may look wrapped in FB code.
>>