Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

communicate with a program running in the background

by fionbarr (Friar)
on Jun 17, 2013 at 17:38 UTC ( #1039422=perlquestion: print w/replies, xml ) Need Help??
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 (Pope) 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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1039422]
Approved by BrowserUk
[james28909]: good song though

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2017-12-15 13:22 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (432 votes). Check out past polls.