in reply to Re: Capture HTTP Error CGI Perl
in thread Windows Background forking in Perl /HTTP Error Capture

Hi Laurent, Thanks for your response. Ok. That makes sense. However, still not sure how to acheive this in Windows. I have been looking for several options online and a lot are very skeptical about forking in windows and all I tried so far has not worked.I tried the fork() emulation in perl for windows. It just never seemed to run the background script, though it did return a pid. I will explore the .bat option. Thanks for your inputs again. Appreciate it.
  • Comment on Achieve background processing(forking) in windows

Replies are listed 'Best First'.
Re: Achieve background processing(forking) in windows
by suzun30 (Acolyte) on Mar 13, 2014 at 18:16 UTC
    I have also tried Proc::Background::Win32 with not much result. It still seemd to wait for the process to finish. I did do the Close STDOUT,STDIN,STDERR filehandles part. Any inputs on this or how to capture a HTTP Error code would help. Thanks in advance.