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


The "exec" before the second invocation of /bin/bash means that
this replaces the first bash, rather than having the first bash
wait for it to finish. Thus, you should not end up with two copies
of bash in memory. (This depends, of course, on the correct
implementation of the exec() functions in the cygwin1.dll)

/John Vincent.
Than this is a cygwin-bug?
(now i remember what exec means, isn't there an exec() in perl, too?)

i definitly get 2 bash.exe in the NT-taskmanager, and the first bash.exe keeps holding a handle to it's current 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]