...do extra or better than other IPC modules?

The impetus/reasons are usually listed in the documentation, otherwise there is no real way to know :) other than to compare interfaces , and then a code review

Usually, IPC modules tend to also work on Win32/Windows ... while Proc:: modules generally don't work on win32 ... almost all fork/forking/forkness idioms of unix/linux don't apply to win32 because win32 doesn't have fork perl emulates it, poorly, so IPC:... need win32 specific loops ... complicates the codebase, and sometimes limits the interface

Also, Proc-Simple first released 05/22/96 which was before perl 5.003 -- Proc-Simple should live :D

Is there any difference between controlling background processes and simple foreground proceses?

foreground/background is a user gui/shell perspective , the process is exactly the same

when you start a process from a shell, its in the foreground, it blocks the shell from accepting any new commands

unless the process is started in the background, or you put it into the background via shell command (IIRC ctr+b? ), then the shell will accept new commands and start new processes while the now backgrounded process is still running


In reply to Re: Process Management in Perl by Proc::Simple by Anonymous Monk
in thread Process Management in Perl by Proc::Simple by prat7434

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.