I read in the recent history a thread with the title "RE: IIS Perl Issue
" that seems to be similar to a problem I'm having.  I couldn't find any
way of joining the thread from the archive, so hopefully someone will
recognise the title...

Perl scripts running under IIS on Windows 2003 do not seem to be able to
"redirect".  This fails:
        open($fh, 'rlog -r "' . $filenames . '" 2>nul |')  
            || &fatal("500 Internal Error", "Failed to spawn GNU rlog
(2)");

This works:
        open($fh, 'rlog -r "' . $filenames . '"  |')  
            || &fatal("500 Internal Error", "Failed to spawn GNU rlog
(2)");


Same with this:
    open($fh, "cvs -d$cvsroot co -p $revopt \"$where\" 2>&1 |") ||
        &fatal("500 Internal Error", "Couldn't co (cvs -d$cvsroot co -p
$revopt $where): $!");

Any redirection will do it...

All seems fine on Windows 2000 / IIS 5 but not with Windows 2003 / IIS
6.  I've added perl to the authorized programs etc ( it all works fine
if I remove the redirection ).

I've tried Perl 5.8.4 , 5.8.6 and 5.6.1 (this is the exact version being
used on W2K), I've used perlis.dll and perl.exe "%s" %s.

Any ideas/experience appreciated!

Regards,


Arthur Barrett


_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to