delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/20/09:40:37

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
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: =?ISO-8859-1?Q?Sven_K=F6hler?= <skoehler AT upb DOT de>
Subject: Re: Cygwin Here power toy
Date: Sun, 20 Oct 2002 15:44:47 +0200
Lines: 17
Message-ID: <3DB2B34F.2050302@upb.de>
References: <WSSN853NMPMR2WMJYXZXTQA6TS0831 DOT 3db138e5 AT milano> <135237175219 DOT 20021020022759 AT familiehaase DOT de>
NNTP-Posting-Host: pd9e588be.dip.t-dialin.net
Mime-Version: 1.0
X-Trace: main.gmane.org 1035121173 19969 217.229.136.190 (20 Oct 2002 13:39:33 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Sun, 20 Oct 2002 13:39:33 +0000 (UTC)
Cc: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2b) Gecko/20021016
X-Accept-Language: de, en
In-Reply-To: <WSSN853NMPMR2WMJYXZXTQA6TS0831.3db138e5@milano>

> REGEDIT4
> [...]
> [HKEY_CLASSES_ROOT\Directory\shell\CygwinHere\command]
> @="c:\\cygwin\\bin\\bash.exe --login -c \"cd '%1' ; exec /bin/bash 
> -rcfile ~/.bashrc\""

can you think of any better way to start bash?
the above creates two bash.exe in memory:
one executing /etc/profile and the cd-command
and one showing the prompt.

bash --login -c "command"
exits after executing the command.
is there any bash-internal command, that let's you show a prompt after 
the command is executed? or any switch that forces bash to not exit?





--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019