Click here to get back home

platform independent fork

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
platform independent fork Nath 07-18-2004
Posted by Nath on July 18, 2004, 5:23 pm
Please log in for more thread options
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




Posted by Krishna News Account on July 18, 2004, 6:25 pm
Please log in for more thread options
Path:
news.easynews.com!core-easynews!newsfeed1.easynews.com!easynews.com!easynews!newspeer1.nwr.nac.net!news.maxwell.syr.edu!wns13feed!worldnet.att.net!attbi_s52.POSTED!53ab2750!not-for-mail
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7)
Gecko/20040514
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.lang.perl.modules
Subject: Re: bytes.pm problem
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 8
NNTP-Posting-Host: 67.170.247.87
X-Complaints-To: abuse@comcast.net
X-Trace: attbi_s52 1090180714 67.170.247.87 (Sun, 18 Jul 2004 19:58:34 GMT)
NNTP-Posting-Date: Sun, 18 Jul 2004 19:58:34 GMT
Organization: Comcast Online
Date: Sun, 18 Jul 2004 19:58:34 GMT
Xref: core-easynews comp.lang.perl.modules:50940


Similar ThreadsPosted
fork process help needed March 15, 2007, 8:56 pm
Term::ReadKey for VMS platform July 25, 2008, 11:45 am
sftp loops Win32 platform July 7, 2006, 12:28 pm
How to tell CPAN-testers a module is just for a specific platform? October 2, 2004, 10:04 am
Receiving snmp traps in perl on Win platform? June 2, 2008, 12:47 pm
Building module Encode::Detect on solaris 10 platform February 21, 2008, 9:13 am
Looking for pre-built DBI/DBD:Oracle modules for Perl 5.8.4 on Solaris 10 platform May 6, 2008, 5:02 pm
Question on platform dependency of ExtUtils::Command::MM (file globbing) December 17, 2006, 7:49 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap