in reply to Re^8: Win32: Setting a layer with binmode causes problem with close() on Windows (PerlIO silently fails to close the file)
in thread Win32: Setting a layer with binmode causes problem with close() on Windows
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^10: Win32: Setting a layer with binmode causes problem with close() on Windows (PerlIO silently fails to close the file)
by BrowserUk (Patriarch) on Jun 17, 2013 at 14:45 UTC | |
by BrowserUk (Patriarch) on Jun 17, 2013 at 15:02 UTC |