D
Dib Urim
Hello,
I'm trying to Capture external command output and error line by line.
There is no problem to implement it on windows 2000, but in Windows 98
you need a special shell.
The only shell that I found and it really work with is: stderr.exe*
This code is work fine on w98:
open(PROC,"stderr.exe $some_command |");
while(<PROC>) {
print ("$_");
}
close(PROC);
But the point is that it fail when I'm specify full path for "stderr.exe"
(becuase I'm exe file using perlapp and --bind don't help)
For example:
open(PROC,"C:/dir_name/stderr.exe $some_command |");
while(<PROC>) {
print ("$_");
}
close(PROC);
My questions are:
1) Why can't I specify full path ?
2) Do you know any alternative shell that work on Windows 98 using pipe.
Regards
I'm trying to Capture external command output and error line by line.
There is no problem to implement it on windows 2000, but in Windows 98
you need a special shell.
The only shell that I found and it really work with is: stderr.exe*
This code is work fine on w98:
open(PROC,"stderr.exe $some_command |");
while(<PROC>) {
print ("$_");
}
close(PROC);
But the point is that it fail when I'm specify full path for "stderr.exe"
(becuase I'm exe file using perlapp and --bind don't help)
For example:
open(PROC,"C:/dir_name/stderr.exe $some_command |");
while(<PROC>) {
print ("$_");
}
close(PROC);
My questions are:
1) Why can't I specify full path ?
2) Do you know any alternative shell that work on Windows 98 using pipe.
Regards