delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/20/18:23:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: =?ISO-8859-1?Q?Sven_K=F6hler?= <skoehler AT upb DOT de>
Subject: Re: Cygwin Here power toy
Date: Mon, 21 Oct 2002 00:27:17 +0200
Lines: 23
Message-ID: <3DB32DC5.2030400@upb.de>
References: <3DB2B34F DOT 2050302 AT upb DOT de> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20021020080704 DOT 01fdb3a0 AT pop3 DOT cris DOT com> <126296343289 DOT 20021020185407 AT familiehaase DOT de>
NNTP-Posting-Host: pd9e585a4.dip.t-dialin.net
Mime-Version: 1.0
X-Trace: main.gmane.org 1035152521 7419 217.229.133.164 (20 Oct 2002 22:22:01 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Sun, 20 Oct 2002 22:22:01 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2b) Gecko/20021016
X-Accept-Language: de, en
In-Reply-To: <3DB2B34F.2050302@upb.de>

> But I get to see two bash processes with different PID's in the
> Taskmanager.  However, 'ps -e' shows only one...

perhaps it's some kind of "forked"

but you should test this:

open two win32-consoles
my first console looks like this:
C:\>mkdir t
C:\>cygwin\bin\bash --login -c "cd /cygdrive/c/t; exec bash"
Sven AT ERNI /cygdrive/c/t
$ cd /
Sven AT ERNI /
$

my second lokks like this:
C:\>rmdir t

this will fail! because the directory "t" is "in use", what means, that 
the first bash-process (which is covered by the "exec bash" uses c:\t as 
it's working dir.




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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