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