X-Spam-Check-By: sourceware.org Message-ID: <457EE6AD.6000004@mscha.nl> Date: Tue, 12 Dec 2006 18:28:13 +0100 From: Michael Schaap Reply-To: cygwin@cygwin.com User-Agent: Thunderbird 2.0b1 (Windows/20061206) MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: cygstart getting The specified file was not found References: <457E0CB8.5070002@mscha.nl> <20061212082036.GY9829@calimero.vinschen.de> <457EAD4F.1000605@mscha.nl> <457EB1D6.7000908@mscha.nl> <20061212141546.GC9829@calimero.vinschen.de> In-Reply-To: <20061212141546.GC9829@calimero.vinschen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Corinna Vinschen wrote: > When using cygwin_internal(CW_SYNC_WINENV), Cygwin doesn't only copy the > environment, it also changes into the actual cwd and keeps Cygwin cwd > and native cwd in sync. This is also propagated to child processes. > Naturally, this process and its children are blocking the cwd from now > on, until all these processes exited. > Luckily, this won't be an issue for cygstart. It doesn't hang around, but exits as soon as it asked the shell to open a file, URL or program. (Whatever program the shell starts, might be blocking the cwd, of course, but that is no different than when you start the program in any other way.) In any case, with the fixed cygstart, $ cygstart . $ rmdir $PWD works fine. (The Explorer window actually closes itself when you do the rmdir.) - Michael -- 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/