X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <46FAC34E.7010004@etr-usa.com> Date: Wed, 26 Sep 2007 14:38:38 -0600 From: Warren Young User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Cygwin-L Subject: Re: Bash -c without exiting References: <12888624 DOT post AT talk DOT nabble DOT com> <12901775 DOT post AT talk DOT nabble DOT com> In-Reply-To: <12901775.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/