This is the mail archive of the
mailing list for the Cygwin project.
Re: [setup] [PATCH] Redirect stdin from /dev/null when running postinstall scripts
Igor Pechtchanski wrote:
On Wed, 15 Sep 2004, Max Bowsher wrote:
Indeed it is. Please go ahead and commit it.
Are you saying that the following postinstall script worked for you?
--- BEGIN BLAH.sh ---
---- END BLAH.sh ----
And installing tetex-tiny worked just fine for me.
I believe it doesn't always attempt to read from stdin, only when there's
something incompatible in the environment.
I'd be interested in a reproduction recipe if anyone has one...
The BLAH.sh above should work (but I haven't tested it, as I don't have
the time at the moment).
Yes, the above functions correctly - no hang.
Indeed, I even modified it to write some files in /tmp - so I know the