Bash -c without exiting

Warren Young warren@etr-usa.com
Wed Sep 26 20:36:00 GMT 2007


patrickinminneapolis wrote:
> I modified Cygwin.bat to the following, 
> bash --login -i -c 'cd /cygdrive/c && exec bash'
> and it still exits. 

I think you can get the effect you want by changing your home directory 
in /etc/passwd to /cygdrive/c

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list