Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 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?= Subject: Re: Cygwin Here power toy Date: Sun, 20 Oct 2002 15:44:47 +0200 Lines: 17 Message-ID: <3DB2B34F.2050302@upb.de> References: <135237175219 DOT 20021020022759 AT familiehaase DOT de> NNTP-Posting-Host: pd9e588be.dip.t-dialin.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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: > 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/