X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Krzysztof Duleba Subject: Re: cygwin 1.5.20 and stalling cygstart Date: Tue, 18 Jul 2006 03:25:44 -0700 Lines: 24 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) In-Reply-To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/