Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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 a log crumbles through the grate...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2018-03-17 04:38 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (223 votes). Check out past polls.