Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

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
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2016-02-07 17:56 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (256 votes), past polls