platform independent fork
From: Nath (DON'T_SEND_ME_at_TRIPE_TO_MY_IN.BOX)
Date: 07/18/04
- Previous message: Sergei Shelukhin: "Re: bytes.pm problem"
- Next in thread: Krishna News Account: "Re: platform independent fork"
- Reply: Krishna News Account: "Re: platform independent fork"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 18 Jul 2004 16:23:26 +0100
I am trying to write a cgi script that executes a piece of perl code
(including a system call that may take several minutes to complete the
executed task). I would like to display a message with a link to retrieve
the results of a system call to the web browser while the remaining perl
code is executed (inc the system calls) so the browser doesn't timeout. I
understand that this can be done on a linux machine using fork (does anyone
have a snippet of code as an example?), but i would also like to make the
scripts platform independent (or at least windows compatable) so the website
can be run from a windows or linux machine....how could i do something
similar for a windows machine (does anyone have any example code)?
Any help is appeciated as i have not done any work regarding forking
processes before!
Thanks
Nathan
- Previous message: Sergei Shelukhin: "Re: bytes.pm problem"
- Next in thread: Krishna News Account: "Re: platform independent fork"
- Reply: Krishna News Account: "Re: platform independent fork"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|