Seeing as I'm waiting for my code to compile, I'm going to pull out a magic ball and see what I can make from it.

First off, how do you "store" a process? A process is either running or it is not. The concept of "storing" a process? No comprendo.

Peering into the magic ball, I wonder if you mean that you're storing a table of processes. Is your goal to connect to this service, request a function, which causes the service to launch a corresponding process in some way? This is not significantly different, then, from xinet or even a web service that redirects to many CGI scripts based on the URL. Or even, really, a remote procedure call (RPC) in general, though that doesn't necessarily involve subprocesses.

So... the best way? Well, seeing as my crystal ball is still very hazy, I'm not even sure I got that much right, I'm not feeling confident enough to pick a best for that. Nor am I sure what "best" would be - to me it would depend on the design of the rest of the system, I guess.


In reply to Re: Process Management script by Tanktalus
in thread Process Management script by Anarchy

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.