----- Original Message ----- From: "?? ?" <[EMAIL PROTECTED]> . . > perl Cookbook says that STDERR can be directed to STDOUT > by 'open(STDERR, ">&STDOUT")', but external command's STDERR > cann't be: > > open(STDERR, ">&STDOUT"); > @ret = `$cmd`; > > is there any standard way?
Try: @ret = `$cmd 2>&1`; Cheers, Rob _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs