shell() in a separate thread with callback message at exit?
Joel Guillod
joel.guillod at net2000.ch
Sat Mar 10 15:00:33 EST 2007
> What platforms are you supporting?
>
> If it is Mac only then I think you can achieve this using an
> AppleScript and AppleEvents.
>
> Let me know and I'll let you have more details.
Yes, I would be very pleased to get the details for MacOSX. Also I
need to support this feature under Windows but let us start with the
Mac solution.
Thanks a lot,
Joel
> All the Best
> Dave
>
> On 8 Mar 2007, at 11:20, Joel Guillod wrote:
>
>> How can I implement the following features:
>>
>> - invoque a shell command in a separate thread, i.e. a non
>> blocking shell during execution of the command;
>> - receive a callback message with the output and the error result
>> when the thread exits?
>>
>> This would be some function similar to the load command, i.e.:
>>
>> shellExecute commandLine [with message callbackMessage]
>>
>> where ...
More information about the use-livecode
mailing list