delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/10/16:11:00

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
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 AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Michael Robbert <mrobbert AT Mines DOT EDU>
cc: cygwin AT cygwin DOT 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 DOT 8050806 AT mines DOT edu> <3FD6222D DOT 6040702 AT m4x DOT org>
<3FD77B62 DOT 90909 AT mines DOT edu> <Pine DOT GSO DOT 4 DOT 58 DOT 0312101405310 DOT 28297 AT eos>
<3FD78817 DOT 9020806 AT mines DOT edu>
Importance: Normal
MIME-Version: 1.0

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 AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019