Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I'm not sure about Win32::Process::Hide
This module allow you to hide your process, to prevent some negligent user terminate your process. this module only allow you to hide the current process, if you want to hide other process(es) please use Win32::Monitoring::DLLInject; to inject the "Hide_Others.dll",that distributed with this package, to the target process(es). "Hide_Others.dll" is just a bundle of this module
I tested it, perl.exe never appears in task manager afterwards until reboot.

Replies are listed 'Best First'.
Re: opinions on Win32::Process::Hide
by james2vegas (Chaplain) on Aug 22, 2009 at 14:28 UTC
    Not sure what the question is.

    Clearly it works, so that isn't the question. Are you asking if you should use it, probably not, there is no reason for hiding processes (on windows) unless you're doing something unpleasant.

    If you need users to not kill your process, perhaps it should be a service, use Win32::Daemon or similar for that.