This is the mail archive of the cygwin 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] |
On 10/4/2010 12:19 PM, Daniel Barclay wrote:I wrote:The behavior of "bash --login -i" seems to vary depending on whether it is a "root" invocation or a nested invocation of bash. This is inconsistent with the description man bash, and seems to be a bug.
Can anyone confirm (or "anti-confirm") this behavior?:
Details:
When bash is started using the Cygwin shortcut (which runs cygwin.bat, which executes "bash --login -i"), bash reads files /etc/profile and ~/.bash_profile. (Running "bash --login -i" from an interactive "cmd" shell does the same.)
However, when in that first bash process, another bash is started with that same "bash --login -i" command, bash does _not_ read /etc/profile.
Works for me.
Thanks, Daniel
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |