amino has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks -
I am in the process of porting a mod_perl app to mod_perl2.
The original mod_perl app has an interactive startup during which a DB password is prompted for.
During the mod_perl2 startup this feature works fine at first but mod_perl2 always does a restart and during the second restart STDERR is being redirected to the log files and STDIN is ignored.
So I am trying to figure out how to either:
1) Prevent the automatic restart or
2) Have STDERR and STDIN be tied to the terminal during the restart the same way they are during the initial start
Here info about my system: Apache/2.2.9 (Debian) mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0
Thank you in advance for any help/insight.
---Amino
I am in the process of porting a mod_perl app to mod_perl2.
The original mod_perl app has an interactive startup during which a DB password is prompted for.
During the mod_perl2 startup this feature works fine at first but mod_perl2 always does a restart and during the second restart STDERR is being redirected to the log files and STDIN is ignored.
So I am trying to figure out how to either:
1) Prevent the automatic restart or
2) Have STDERR and STDIN be tied to the terminal during the restart the same way they are during the initial start
Here info about my system: Apache/2.2.9 (Debian) mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0
Thank you in advance for any help/insight.
---Amino
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: mod_perl2 interactive startup
by perrin (Chancellor) on Aug 17, 2009 at 19:06 UTC | |
by amino (Initiate) on Aug 18, 2009 at 01:46 UTC | |
by perrin (Chancellor) on Aug 18, 2009 at 13:36 UTC | |
by amino (Initiate) on Aug 18, 2009 at 18:59 UTC | |
by perrin (Chancellor) on Aug 19, 2009 at 14:10 UTC | |
by Anonymous Monk on Aug 18, 2009 at 05:38 UTC | |
by amino (Initiate) on Aug 18, 2009 at 14:01 UTC | |
by Anonymous Monk on Aug 18, 2009 at 14:49 UTC | |
|
Back to
Seekers of Perl Wisdom