Please elucidate? (Preferably demonstrate.)

Its hard (cant test ATM), but it goes like this,
apache2 on win32 runs tracertfrontend.cgi which does  system 1, logtracertwithipcrun3.pl and redirects,
except logtracertwithipcrun3.pl blocks tracertfrontend.cgi

even if longtracertwithipcrun3.pl does another system 1... itself, STDIN/STDOUT/STDERR handles are still inherited (despite 0 flag), and it still blocks tracertfrontend.cgi

This scenario can work from (cmd.exe) console (no blocking), but not under whatever environment apache sets up (something like without console )

Proc::Background::Win32 tries to launch without inheriting handles, but it still blocks under apache

Win32::Process::Create/DETACHED_PROCESS combo seems to keep tracertfrontend.cgi from being blocked under apache


In reply to Re^9: Win32: Setting a layer with binmode causes problem with close() on Windows (PerlIO silently fails to close the file) by Anonymous Monk
in thread Win32: Setting a layer with binmode causes problem with close() on Windows by rovf

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.