D
Dib Urim
Hello,
I'm trying to Capture external command output and error line by line.
I wrote this example witch work excellent on Windows 2000:
open(PROC,"DIR 2>&1 |");
while(<PROC>) {
print ("LINE:$_");
}
close(PROC);
But on Windows 98 it don't do nothing!
I'm user perl 5.6.1 activestate 625.
I need to display the output line by line and not all at once
so I can't use system command.
How can I implement it on windows 98 ?
Thanks
Dib
I'm trying to Capture external command output and error line by line.
I wrote this example witch work excellent on Windows 2000:
open(PROC,"DIR 2>&1 |");
while(<PROC>) {
print ("LINE:$_");
}
close(PROC);
But on Windows 98 it don't do nothing!
I'm user perl 5.6.1 activestate 625.
I need to display the output line by line and not all at once
so I can't use system command.
How can I implement it on windows 98 ?
Thanks
Dib