Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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.


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 musing on the Monastery: (14)
As of 2016-10-26 19:31 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (346 votes). Check out past polls.