www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Tue, 25 Sep 2007 17:43:01 -0400 (EDT) |
From: | Igor Peshansky <pechtcha AT cs DOT nyu DOT edu> |
Reply-To: | cygwin AT cygwin DOT com |
To: | patrickinminneapolis <patrickinminneapolis AT gmail DOT com> |
cc: | cygwin AT cygwin DOT com |
Subject: | Re: Bash -c without exiting |
In-Reply-To: | <12888624.post@talk.nabble.com> |
Message-ID: | <Pine.GSO.4.63.0709251742000.16844@access1.cims.nyu.edu> |
References: | <12888624 DOT post AT talk DOT nabble DOT com> |
MIME-Version: | 1.0 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
On Tue, 25 Sep 2007, patrickinminneapolis wrote: > I'd like to drop to the current directory like this, > > bash --login -i -c 'Drop to current directory' > > without exiting cygwin. Thanks. Not Cygwin-specific. Try bash --login -i -c 'cd /tmp && exec bash' HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |