Hi,

i've got a binary executable file, that give a result on STDOUT (shell). 
I'm reditected STDOUT on a file as:

use Getopt::Long;
open(STDOUT,">/usr/local/netsaint/var/tmp") || die"$!\n";
&GetOptions("p=i" => \$port);
$|=1;
system("/usr/local/netsaint/libexec/check_http 127.0.0.1 -p $port");
close(STDOUT);

where check_http is the executable.

After i read and parse the content of this file, i want give a result on 
STDOT (shell), but...

I don't write more on shell !!!

I'm tryied only with on print, and with:

select STDOUT;
$|=1;
print"xxx";

Nothing... i don't write on shell !!!


How i can reallocate the STDOUT on default (shell) ????

Thanks

    Walter


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to