Subject: Re: Cygwin Here power toy
From: Sven Köhler <[email-masked]>
To: [email-masked]
Date: Mon, 21 Oct 2002 00:27:17 +0200

> 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@ERNI /cygdrive/c/t
$ cd /
Sven@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/