Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Wed, 10 Dec 2003 16:08:31 -0500 (EST)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Michael Robbert <mrobbert@Mines.EDU>
cc: cygwin@cygwin.com
Subject: Re: Setup hangs in postinstall
In-Reply-To: <3FD78817.9020806@mines.edu>
Message-ID: <Pine.GSO.4.56.0312101604470.24287@slinky.cs.nyu.edu>
References: <3FD617A6.8050806@mines.edu> <3FD6222D.6040702@m4x.org>
 <3FD77B62.90909@mines.edu> <Pine.GSO.4.58.0312101405310.28297@eos>
 <3FD78817.9020806@mines.edu>
Importance: Normal
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Wed, 10 Dec 2003, Michael Robbert wrote:

> [snip]
> >
> > Have you tried to strace it?
> Yes, I think that this was included in my initial Email. strace produces
> no output. I have tried attaching to a running/hung one as well as
> running:
>
> strace sh -c TEST=`uname -s`
>
> Both produced nothing, I suspect that the hang is actually happening
> outside of the sh that I create in the latter.

BTW, if you don't escape the backticks ("`"s), they will be evaluated in
the *current* shell.  You should try to run

strace sh -c 'TEST=`uname -s`'

(note the single quotes).  You can see the difference by comparing the
output of "sh -cx TEST=`uname -s`" and "sh -cx 'TEST=`uname -s`'".
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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

