delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Originating-IP: | [129.78.64.17] |
From: | "Gareth Pearce" <tilps AT hotmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Executing bash commands from the bash command line |
Date: | Thu, 01 Aug 2002 07:19:14 +0000 |
Mime-Version: | 1.0 |
Message-ID: | <F217dYS2mFaCKCLYGdJ0001a53a@hotmail.com> |
X-OriginalArrivalTime: | 01 Aug 2002 07:19:14.0804 (UTC) FILETIME=[BDA77340:01C2392B] |
> > > > bash -c "cd /cygdrive/c/myfolder ; exec bash" > > > > >Dear George, > I did as you suggested however when I called "exec bash" after >changing >the directory a new instance of bash was spawned but when a new instance of >bash was spawned it started in my home directory (~). > I would suggest a google search with site:cygwin.com for bash here The mailing list archives contain howto do this I am fairly certain and indeed I believe at one time it was going to be made an FAQ - but was unable to find it in the faq, and the mailinglist search (non-google) timed out on me :) Gareth > Hamish > > >-- >Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >Bug reporting: http://cygwin.com/bugs.html >Documentation: http://cygwin.com/docs.html >FAQ: http://cygwin.com/faq/ _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |