Dear Monks,
I am working on windows environment. I have 3 VC++ stand alone applications (these applications have command line support) and 3 Perl scripts which should be executed in a sequence. Right now i need to manually feed some data and monitor the status. I want to automate this process. For this I am thinking of having a driving module written in Perl(Because I am familiar with Perl).

Requirements are
1. It must launch the individual applications in predefined order.
2. It must launch the applications with parameters.
3. It must capture the status information from individual applications as they are running (on the fly). This information must be logged to some file or display it in status window

My problem is how to get the status information from other applications on the fly.(I may need to launch the driving module as another process or or another thread if possible)

I know, I need to make some changes to the existing applications. I am open to that issue.

Can anybody suggest which is the easiest way to accomplish the communication between two applications with a few changes in the code?

Thanks
Kamesh

In reply to Communication among applications by kamesh3183

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.