How to run a script using Shell in the background?

xbury.cs at clearstream.com xbury.cs at clearstream.com
Thu Mar 11 10:48:11 EST 2004


set the hideconsolewindows to true
---------------------=---------------------
Xavier Bury
Clearstream Services
TNS NT LAN Server
ext 36465
Voice: +352 4656 43 6465
Fax: +352 4656 493 6465




Bojsza <gbojsza at mac.com>
Sent by: use-revolution-bounces at lists.runrev.com
11.03.2004 15:33
Please respond to How to use Revolution

 
        To:     use-revolution at lists.runrev.com
        cc: 
        Subject:        How to run a script using Shell in the background?

.


I have an application where one of the button's contains a script using 
the Shell function.

The Shell function runs a command line argument against a user selected 
file.

If the user has selected a large file it takes a couple of hours for 
the Shell function to complete (this is normal time frame if the 
equivalent command line was done outside of Revolution).

The button with the command is pretty basic

on mouseUp
...
...
put Shell ("cmd and selected file") into fld outPut
end mouseUp

In this form the user cannot do anything else with the Revolution 
application (waiting for the script to complete).

Surely there is a way to have the Shell run in the background therefore 
allowing the user to do other things in the application?

Thanks,

Glen

_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution




Visit us at http://www.clearstream.com
                                                          
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message.

The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries.

END OF DISCLAIMER


More information about the use-livecode mailing list