| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| X-IronPortListener: | Outbound_SMTP |
| From: | "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder AT niaid DOT nih DOT gov> |
| To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>, "'Jeenu V'" <jeenuv AT gmail DOT com> |
| Date: | Mon, 12 Jan 2009 18:16:38 -0500 |
| Subject: | RE: Wait for cygstart finish |
| Message-ID: | <0105D5C1E0353146B1B222348B0411A211B41E5E@NIHMLBX02.nih.gov> |
| References: | <5195c8760901120434u42ce641asee9c72c247cabdb1 AT mail DOT gmail DOT com> <496B6FBB DOT 2060400 AT cygwin DOT com> <5195c8760901120845m74185024hbf60a3bd5fd79632 AT mail DOT gmail DOT com> |
| In-Reply-To: | <5195c8760901120845m74185024hbf60a3bd5fd79632@mail.gmail.com> |
| MIME-Version: | 1.0 |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id n0CNHWOr025472 |
Jeenu V wrote on Monday, January 12, 2009 11:45 AM:
> On Mon, Jan 12, 2009 at 9:58 PM, Larry Hall (Cygwin)
> <reply-to-list-only-lh AT cygwin DOT com> wrote:
>> Just run the app without 'cygstart'?
>
> :) Well this was related to one of my earlier posts, if you recall,
> where I had problems with running cmd.exe from screen. I now work
> that around by calling cmd.exe with cygstart. Everything works fine -
> just that I wanted to know if there's a way to make cygstart wait for
> the application to finish.
Currently there isn't; see
$ man cygstart
$ cygstart --help
You could always apply the patch that you mentioned earlier yourself
and re-compile cygstart.
Work-around: You might try the following.
$ cmd /c start /wait
You also might want to see if start's "/b" option helps.
B Start application without creating a new window. The
application has ^C handling ignored. Unless the application
enables ^C processing, ^Break is the only way to interrupt
the application
(Please note that I've never even tried "/b" -- my suggestion comes
from start /?, not any experience.)
- Barry
--
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 |