Shells - non-blocking?
Brian Yennie
briany at qldlearning.com
Mon Aug 14 04:48:26 EDT 2006
---
Brian Yennie
Chief Technology Officer
QLD Learning, LLC
(310)-367-7364
You might try something like:
get shell("mylongcommand > output.txt &")
This should redirect the output to a file and return immediately.
It's not as clean as triggering a "done" message with new syntax
would be, but it may be workable. You might try searching the
archives - I seem to recall discussing this one many moons ago...
HTH,
Brian
> On Aug 13, 2006, at 3:30 AM, David Bovill wrote:
>
>> I want to call the shell command and let the user get on with other
>> gui stuff... wouldn't it be nice to have:
>>
>> put shell("something really slow") with message "doneIT" ?
>
> Very good idea!
> Do you fill an enhancement in Revzilla? If not I'll do it, let me
> know...
>
>
> On Sun, 13 Aug 2006 09:42:35 -0600 , Dar Scott wrote:
>
>> You might be able to build something like that with processes (see
>> open process etc in the doc).
>
> I cannot figure out how to implement that. Have you a sample script?
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
More information about the use-livecode
mailing list