http://www.perlmonks.org?node_id=1039422

fionbarr has asked for the wisdom of the Perl Monks concerning the following question:

I'd like to ask for suggestions to control a program running as a Windows service....stop, start, monitor, etc. Shared memory doesn't look too practical (according to what I've found on CPAN)...I have considered a semaphore file which would be parsed at intervals.
  • Comment on communicate with a program running in the background

Replies are listed 'Best First'.
Re: communicate with a program running in the background
by BrowserUk (Patriarch) on Jun 17, 2013 at 17:55 UTC

    See Win32::Service.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.