delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/08/14:26:06

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
Message-Id: <5.2.0.9.2.20030108100813.02d8e180@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
Date: Wed, 08 Jan 2003 10:13:33 -0800
To: cygwin AT cygwin DOT com
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: RE: Slowness when setting PS1 variable???
In-Reply-To: <F6wUUt9QrAo6hgb7IP20000c22e@hotmail.com>
Mime-Version: 1.0

Thomas,

The key here is that back-quotes or $( command ) uses a pipe to get the 
output of the command.

Do you run a CPU-soaking background program such as SETI AT home, Folding AT home 
(the protein folding experiment) or fightAIDS AT home (the AIDS drug discovery 
program)?

If so, you're seeing the result of the changes to how Cygin accesses pipes 
in 1.3.18.

I hope these changes will be perfected or backed out, since I don't want to 
give up running background CPU utilization software and in the long run I 
cannot afford to stop updating Cygwin (of course).

Randall Schulz


At 06:35 2003-01-08, Thomas Chadwick wrote:
>Update.  I've further observed that while running whoami at the 
>command-line returns a result immediately, running it inside a pair of 
>back-tics "`" shows the blocking behavior.  For instance, if I do this:
>
>$ whoami
>
>I get a result immediately.
>
>However, if I do this:
>
>$ echo `whoami`
>
>It takes a good 5-10 seconds to print a value and return the prompt.


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