This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Setup hangs in postinstall


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]