It's like a suicide ?
If you kill Apache, you kill yourself.
Probably, you can create a detached process from your script that will
be in charge of making the stuff.
Take care about OS you are running perl on to do this.
Regards
Matthieu FEREYRE a écrit :
Is it possible to restart Apache from a perl script (executed by Apache) ?
I tried to send a Kill system command with no success.
Any idea ?
FEREYRE Matthieu
" Ce courriel et les documents qui y sont attaches peuvent contenir des
informations confidentielles. Si vous n'etes pas le destinataire
escompte, merci d'en informer l'expediteur immediatement et de detruire
ce courriel ainsi que tous les documents attaches de votre systeme
informatique. Toute divulgation, distribution ou copie du present
courriel et des documents attaches sans autorisation prealable de son
emetteur est interdite."
" This e-mail and any attached documents may contain confidential or
proprietary information. If you are not the intended recipient, please
advise the sender immediately and delete this e-mail and all attached
documents from your computer system. Any unauthorised disclosure,
distribution or copying hereof is prohibited."