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
Pavel Tsekov wrote:
On Mon, 13 Sep 2004, Igor Pechtchanski wrote:
The patch below redirects stdin from /dev/null when running postinstall
scripts, so that installation doesn't hang if a program called from a
postinstall script decides to ask the user something. AFAICS, this is
against the CVS HEAD.
But then what happens with the script that requested user input ? Isn't it
possible that the package would end up misconfigured ?
Maybe. But better than setup hanging, and it's a pretty major bug in the
package if it is doing critical user interaction in it's postinstall script.