Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Hiding Windows Programs

by diskcrash (Hermit)
on Mar 26, 2001 at 10:40 UTC ( [id://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

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 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://67119]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-19 04:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found