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 Message-ID: <3DB2B34F.2050302@upb.de> Date: Sun, 20 Oct 2002 15:44:47 +0200 From: =?ISO-8859-1?Q?Sven_K=F6hler?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2b) Gecko/20021016 X-Accept-Language: de, en MIME-Version: 1.0 Newsgroups: gmane.os.cygwin To: "Gerrit P. Haase" CC: cygwin AT cygwin DOT com Subject: Re: Cygwin Here power toy References: <135237175219 DOT 20021020022759 AT familiehaase DOT de> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Oct 2002 13:44:49.0968 (UTC) FILETIME=[DC555300:01C2783E] > 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/