| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| In-Reply-To: | <F76C9B2DA2FC4C4CA0A18E288BBCBCF7082177EC@nihexchange24.nih.gov> |
| To: | cygwin AT cygwin DOT com |
| MIME-Version: | 1.0 |
| Subject: | RE: [OT?] make bash script wait for called program to finish? |
| From: | Thomas L Roche <tlroche AT us DOT ibm DOT com> |
| Message-ID: | <OFB122128A.3BE702B1-ON85256E7B.004DC93B-85256E7B.0050378E@us.ibm.com> |
| Date: | Mon, 19 Apr 2004 10:36:10 -0400 |
Barry Buchbinder Sun, 18 Apr 2004 18:56:47 -0400
>>>> How about the following?
>>>> $ cmd /c start /wait program_being_waited_for
Tom Roche Sunday, April 18, 2004 8:01 PM
>>> I've never run windows' shell from bash, but that does the job.
Larry Hall 04/18/2004 07:12 PM
>> [For 'wait n',] 'n' is a proc id. See 'man bash'.
arrgghh: I tried "{info, man} wait".
Buchbinder, Barry 04/19/2004 10:03:00 AM:
> (at least on XP) if you just start the program without using
> cygstart or putting it in the background with &, the shell just
> waits for it to finish.
I'm not sure if the problem is that
* I'm on 2k
* the program being run is java-based
but bash does not stop.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |