realbasic-nug
[Top] [All Lists]

Re: Shell, wait for outside process?

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: Shell, wait for outside process?
From: Giovanni <rbml@alphaview.com>
Date: Sun, 29 Jun 2008 22:14:03 -0700
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <2A008FED-028F-42C8-9BF0-610BD8810C1A@great-white-software.com>
References: <C48DAE42.1519D%sean@workinsoft.com> <2A008FED-028F-42C8-9BF0-610BD8810C1A@great-white-software.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
how do you make the shell command wait?


Kind regards,

Giovanni
rbml@alphaview.com



On Jun 29, 2008, at 9:33 PM, Norman Palardy wrote:


On 29-Jun-08, at 8:25 PM, Sean Arney wrote:


Hi All,

I have a shell process that I am launching an executable - so far so good, but I need to wait for that operation to complete before doing some
more things.  Any suggestions how to do that?  A timer is not really
appropriate since it involves some user input.

You could make the shell command wait til it completes

Watch the process id of the program you launched until it disappears and then quit the shell

Do this synchronously

Or pass the PID back to REALbasic and then you can spin your wheels in RB waiting for that process to terminate



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>