stdin is closed during script running. What if the user is using a
GUI frontend to install the package like GnoRPM? Or if they are
installing a package remotely via a management service?
Matt
On Sat, Oct 07, 2000 at 10:46:13PM -0700, Ricardo Kleemann wrote:
> Hi guys,
>
> I'm trying to get user input during installation of an rpm. I have a
> simple perl script which works fine by itself, but when run automatically
> during rpm installation, it simply doesnt stop for the user input... it
> just goes directly thru it.
>
> I just get user input using,
>
> $answer = <STDIN>;
>
> which works fine if the script is run manually. But inside the rpm the
> STDIN input is ignored.
>
> How can i fix that?
>
> Ricardo
>
>
>
> _______________________________________________
> Redhat-devel-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-devel-list
_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list