Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Verify links under Windows

Quote Reply
Verify links under Windows
Hello,

It seems that windows (98) has problem to fork called by verify.cgi. When I run verify links, the program would crash either in browser or command line. Is this a true windows related problem?

Thanks.

Long
Quote Reply
Re: [long327] Verify links under Windows In reply to
Hi



Do you have a specific error message?



FMP
Quote Reply
Re: [fmp] Verify links under Windows In reply to
Thanks for reply.

If I verify links in a browser I got this:
Launching new child ... A fatal error has occured:Error launching child 'c:/perl/bin/perl.exe c:/sambar43/cgi-bin/links211/admin/verify-child.pl '. Status: -1 at c:/sambar43/cgi-bin/links211/admin/Links/Parallel.pm line 200.

The problematic code is this line:
Code:
198 if (-e $child) {
199 $pid = $newfh->open ( "$perlpath $child $cmdline @$to_check |" );
200 if ((!$pid)or($?)) { die "Error launching child '$perlpath $child $cmdline'. Status: $?"; }

If I verify links using command line, and will soon get a DOS Prompt saying "Your program has performed a illeagal ..."

It seems that in Windows 98, you can not do a pipe open. I wrote a simple perl script to pipe open another perl script and get the same problem.

In Windows 2K, there is no problem verifying links.

Long