- or download this
C:\Projects_Perl\testing>perl serva.pl install
service name: serva
Log file: C:\Projects_Perl\testing\serva.log
Successfully added.
- or download this
C:\Projects_Perl\testing>net start serva
The serva service is starting.
...
Run this service...
Fri May 5 15:59:22 2017
Exit Code 0
- or download this
use strict;
use IPC::Run3; # Exports run3() by default
...
close(LOG);
print "Exit Code $ec\n";
Win32::Daemon::StopService();