Help for this page

Select Code to Download


  1. or download this
    C:\Projects_Perl\testing>perl serva.pl install
    service name: serva
    Log file: C:\Projects_Perl\testing\serva.log
    Successfully added.
    
  2. 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
    
  3. or download this
    use strict;
    use IPC::Run3;    # Exports run3() by default
    ...
    close(LOG);
    print "Exit Code $ec\n";
    Win32::Daemon::StopService();