This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin Here power toy


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]