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

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 www.tpj.com 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.

Diskcrash


Comment on Re: Hiding Windows Programs
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 roth.net. 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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2014-12-18 02:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (41 votes), past polls