Getting Rev control back after shell()
Frank D. Engel, Jr.
fde101 at fjrhome.net
Wed Jan 12 11:18:40 EST 2005
-----BEGIN PGP SIGNED MESSAGE-----
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 aol.com" <RGould8 at aol.com> wrote:
>> In a message dated 1/11/05 4:04:01 PM, kray at sonsothunder.com writes:
>>> On 1/11/05 2:04 PM, "RGould8 at aol.com" <RGould8 at aol.com> wrote:
>>>> If I've got a shell() call that executes a unix command that takes
>>>> complete (up to 3 minutes), is there a way to give control back to
>>>> 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
>> It's the "getting control back immediately" part that's presently the
>> Since the same issue occurs when executing the call in Terminal, I
>> it's not Rev's fault. I guess I could just use some unix advice on
> 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,
> 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: http://www.sonsothunder.com/
> Email: kray at sonsothunder.com
> use-revolution mailing list
> use-revolution at lists.runrev.com
Frank D. Engel, Jr. <fde101 at fjrhome.net>
$ 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
-----END PGP SIGNATURE-----
$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 www.doteasy.com
More information about the Use-livecode