delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Krzysztof Duleba <krzysan AT skrzynka DOT pl> |
Subject: | Re: cygwin 1.5.20 and stalling cygstart |
Date: | Tue, 18 Jul 2006 03:25:44 -0700 |
Lines: | 24 |
Message-ID: | <e9icv5$cmq$1@sea.gmane.org> |
References: | <e9ic5u$9o9$1 AT sea DOT gmane DOT org> |
Mime-Version: | 1.0 |
User-Agent: | Thunderbird 1.5.0.4 (Windows/20060516) |
In-Reply-To: | <e9ic5u$9o9$1@sea.gmane.org> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
Krzysztof Duleba wrote: > I've just upgraded to 1.5.20 to get gvim 7 running and one of my > programs doesn't work anymore. > > I attach simple test case: if you compile foo.cpp and start it from a > cygwin shell, it should run OK. However, if you start it from a windows > shell / windows explorer / whatnot, you should see stalling cygstart. > cygstart process won't exit even when you close notepad, you will have > to kill it manually. Reproduced with the latest snapshot. It can be even further simplified, just run 'perl foo.pl' from windows command line. I include the foo.pl script inline as I've just got several messages about my attachments being blocked by antivirus software: $ cat foo.pl #!/usr/bin/perl my $cmd = "cygstart /cygdrive/c/windows/system32/notepad.exe"; $cmd .= " \"foobar\""; exec($cmd); Krzysztof Duleba -- 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 |