Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Hiding Windows Programs

by diskcrash (Hermit)
on Mar 26, 2001 at 10:40 UTC ( #67119=note: print w/ replies, xml ) Need Help??

in reply to Hiding Windows Programs

When I install Perl scripts as NT services, the only place they appear is in the NT Services dialog box. There are references around about "installing perl scripts as an NT service".

See the comments by Kevin Meltzer in on this topic. Its easy. You need to get copies of srvany and instsrv to install the script. You must also edit the NT Registry.


Comment on Re: Hiding Windows Programs
Replies are listed 'Best First'.
Re: Re: Hiding Windows Programs
by $code or die (Deacon) on Mar 26, 2001 at 11:45 UTC
    You can also use Win32::Daemon from If you go this route (rather than srvany) then you can actually get the script to do something while it shuts down. I.e. if you stop the service - your script will realise that you are stopping the service and you can do something like close a db connection gracefully or whatever.

    $ perldoc perldoc

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://67119]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (12)
As of 2015-10-13 07:32 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (296 votes), past polls