Since you are uing the "shell" you can execute the command with the "&" under *NIX ( 
ps& runs ps without blocking the calling program/shell) and under windows simply use 
"start" ( start "command" ).

Kevin



-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
Disclaimer:

Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely
coincidental. 
Any resemblance between the above and my own views is non-deterministic.

 The question of the existence of views in the absence of anyone to hold
them
is left as an exercise for the reader. The question of the existence of
the reader
 is left as an exercise for the second god coefficient. 
(A discussion of non-orthogonal, non-integral polytheism is beyond the
scope of this article.)



 --- On Thu 03/11, Bojsza < [EMAIL PROTECTED] > wrote:
From: Bojsza [mailto: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Thu, 11 Mar 2004 08:33:41 -0600
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 <br>the Shell 
function.<br><br>The Shell function runs a command line argument against a user 
selected <br>file.<br><br>If the user has selected a large file it takes a couple of 
hours for <br>the Shell function to complete (this is normal time frame if the 
<br>equivalent command line was done outside of Revolution).<br><br>The button with 
the command is pretty basic<br><br>on mouseUp<br>...<br>...<br>put Shell ("cmd and 
selected file") into fld outPut<br>end mouseUp<br><br>In this form the user cannot do 
anything else with the Revolution <br>application (waiting for the script to 
complete).<br><br>Surely there is a way to have the Shell run in the background 
therefore <br>allowing the user to do other things in the 
application?<br><br>Thanks,<br><br>Glen<br><br>_______________________________________________<br>use-revolution
 mailing list<br>[EMAIL PROTECTED]<br>http://lists.runrev.com/mail
 man/listinfo/use-revolution<br>

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to