delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/12/12:28:48

X-Spam-Check-By: sourceware.org
Message-ID: <457EE6AD.6000004@mscha.nl>
Date: Tue, 12 Dec 2006 18:28:13 +0100
From: Michael Schaap <cygwin AT mscha DOT nl>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Thunderbird 2.0b1 (Windows/20061206)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygstart getting The specified file was not found
References: <d064fc578e06c DOT 457da36f AT shaw DOT ca> <457E0CB8 DOT 5070002 AT mscha DOT nl> <20061212082036 DOT GY9829 AT calimero DOT vinschen DOT de> <457EAD4F DOT 1000605 AT mscha DOT nl> <457EB1D6 DOT 7000908 AT mscha DOT nl> <Pine DOT GSO DOT 4 DOT 63 DOT 0612120853170 DOT 13093 AT access1 DOT cims DOT nyu DOT edu> <20061212141546 DOT GC9829 AT calimero DOT vinschen DOT de>
In-Reply-To: <20061212141546.GC9829@calimero.vinschen.de>
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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019