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

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: hiding a process from view
by Yendor (Pilgrim) on Nov 17, 2004 at 15:25 UTC

    Security through obscurity is no security at all. If you're worried about $SOME_MALICIOUS_PERSON killing one of your processes while you're not physically at the computer (but they are), what's to stop them from simply pushing the power button?

Re: hiding a process from view
by nimdokk (Vicar) on Nov 17, 2004 at 15:08 UTC
    Have you tried simply locking the desktop when you walk away? Password protected screen savers are very simple and effective, regardless of what platform you might be using.
Re: hiding a process from view
by skx (Parson) on Nov 17, 2004 at 16:59 UTC

    Any such script is going to be very environment specific - so you might get more advice if you actually mentioned your environment. Windows? Linux? Solaris?

    Normally you cannot hide processes under Unix, or Windows without using some form of rootkit.

    Hiding windows should be trivial though - for example this console program allows you to hide windows under Windows, but this isn't perl and your question has nothing to do with perl at all.

    Steve
    ---
    steve.org.uk
Re: hiding a process from view
by snookmz (Beadle) on Nov 17, 2004 at 22:33 UTC
    I want to make it completely disapear for some time (so people don't cancel the process when I'm not in front of the computer).

    Perhaps you could just background the task by using '&'? it won't hid it, but it won't be 'killed' accidently by someone when you're 'not in front of the computer'.

    example: my script kiddie.pl
    $ ./kiddie.pl&