This is the mail archive of the
mailing list for the Cygwin project.
RE: setup hangs during postinstall
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Steve Fairbairn <steve dot fairbairn at perwill dot com>
- Cc: cygwin at cygwin dot com
- Date: Wed, 15 Oct 2003 14:47:12 -0400 (EDT)
- Subject: RE: setup hangs during postinstall
- References: <D721826DEE793D49BC49582C121EDD3E3F55C9@exchange.perwill.com>
- Reply-to: cygwin at cygwin dot com
On Wed, 15 Oct 2003, Steve Fairbairn wrote:
> Again, probably going over old ground but I can't find anywhere that it
> has actually been stated for those that can't duplicate the problem,
> TOPFOLDER="$(cygpath d:/)/Cygwin-XFree86"
> hangs, but
> cygpath d:/
> doesn't hang?
This was already stated.
> As Brian has noted, Executing the binary with '< /dev/null' stops the
> hanging, but also executing it without capturing the output to a variable
> also stops the hanging.
> Could the capturing of the output somehow give the child process an output
> stream but no input one? Could something be failing because (going on
> CreateProcess API) it was told to inherit file descriptors but there isn't a
> valid input one?
> I'm just trying to throw questions at anyone in the hope I might stumble
> across something that makes one of the real geniuses realise what is going
> Please tell me to be quiet if I'm being annoying ;)
You could try testing the following things:
$(cygpath d:/) # don't capture the output but execute cygpath in a subshell
sh -c "cygpath d:/" # force the subshell to be "sh"
$(cat /dev/null | cygpath d:/) # see if pipes work the same as input redirect
$(cygpath d:/ > /tmp/cygpath.out) # see if redirecting output also affects it
I'll let you know if I think of other things to try.
|\ _,,,---,,_ email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ firstname.lastname@example.org
|,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