« Return to Thread: Bash -c without exiting

Re: Bash -c without exiting

by Warren Young :: Rate this Message:

Reply to Author | View in Thread

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/

 « Return to Thread: Bash -c without exiting