This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Bash -c without exiting
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/