Getting Rev control back after shell()

Frank D. Engel, Jr. fde101 at
Wed Jan 12 11:18:40 EST 2005

Hash: SHA1

That works fine in Terminal, but Rev still waits for the command to 
finish.  Quite stupid, really.

Under Windows, there is a "start" command that can be jury-rigged to do 
this.  Not sure how to handle it under OS X/*nix (believe me, I've been 
trying to figure that one out too).

On Jan 12, 2005, at 10:38 AM, Ken Ray wrote:

> On 1/12/05 9:29 AM, "RGould8 at" <RGould8 at> wrote:
>> In a message dated 1/11/05 4:04:01 PM, kray at writes:
>>> On 1/11/05 2:04 PM, "RGould8 at" <RGould8 at> wrote:
>>>> If I've got a shell() call that executes a unix command that takes 
>>>> awhile
>>> to
>>>> complete (up to 3 minutes), is there a way to give control back to
>>> Revolution
>>>> while it's taking place?
>>> It depends... do you need to get data back from shell or is it 
>>> purely an
>>> "execute this command" situation?
>> This is a unix call for imaging drives, but I have figured out a way 
>> to route
>> the output from that unix call to a text file.   My hope was to 
>> somehow have
>> Rev start up the disk imaging call process, get control back 
>> immediately, and
>> have Revolution read that text file every 5 seconds to check on the 
>> status.
>> It's the "getting control back immediately" part that's presently the 
>> problem.
>>   Since the same issue occurs when executing the call in Terminal, I 
>> know
>> it's not Rev's fault.   I guess I could just use some unix advice on
>> sublaunching
>> processes.
> My understanding is that if you put a "&" after the command for the
> terminal, it causes it to become asynchronous and immediately return. I
> haven't tried it yet, though. You'll need to use the "sh" shell, 
> however.
> Here's where I got that info:
> Give it a shot and let us know if it works...
> Ken Ray
> Sons of Thunder Software
> Web site:
> Email: kray at
> _______________________________________________
> use-revolution mailing list
> use-revolution at
- -----------------------------------------------------------
Frank D. Engel, Jr.  <fde101 at>

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
Version: GnuPG v1.2.4 (Darwin)


$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at

More information about the Use-livecode mailing list