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 From: Eric Hanchrow Subject: Re: Bash returns incorrect process status Date: Tue, 21 Sep 2004 07:32:14 -0700 Lines: 19 Message-ID: <87vfe7lmkx.fsf@offby1.atm01.sea.blarg.net> References: <90459864DAD67D43BDD3D517DEFC2F7D7138 AT axon DOT Axentia DOT local> <3 DOT 0 DOT 5 DOT 32 DOT 20040917225811 DOT 00818730 AT incoming DOT verizon DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: offby1.atm01.sea.blarg.net User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) X-IsSubscribed: yes This patch also fixes a long-standing problem that I've had: My .bash_profile is rather complex (actually, it sources .bashrc, which is where most of the complexity is), and at the end it runs a program called `keychain'. That program always does some output and sometimes does some input. Before I applied this patch, most (but not all) of the time, keychain appeared to run in the background -- that is, I'd see a prompt from bash, implying that it had finished executing commands from its startup files, but then I'd see output from keychain. Worse, if keychain wanted to read input, it seemed to "hear" only a garbled version of what I typed (in fact, the input that it wants is my password, and would always claim I'd mistyped it). With the patch, however, it works perfectly. -- Software is largely a service industry operating under the persistent but unfounded delusion that it is a manufacturing industry. -- Eric Raymond -- 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/