On Apr 4, 2006, at 21:41, $Bill Luebkert wrote:
Have you tried something like
my $process = '/path/to/process';
open IN, $process | or die open $process |: $! ($^E);
while (IN) {
print;
}
close IN;
Ah, no, I haven't. I was trying to avoid shell interpolation. But
you're right, it
At 10:30 PM 4/4/2006 -0700, David Wheeler wrote:
Ah, no, I haven't. I was trying to avoid shell interpolation. But
you're right, it just might be the simplest solution.
If there are no shell metacharacters present, it won't start up a shell. So
as long as the argument is a simple command,
Fellow Perlers,
I have code that uses open() to open a file handle pipe to an
external application so that I can then read from it line-by-line.
Unfortunately, it doesn't work on Windows.
Would some kind soul tell me the best way to create file handles on
processes in Win32 Perl? I have
David Wheeler wrote:
Fellow Perlers,
I have code that uses open() to open a file handle pipe to an
external application so that I can then read from it line-by-line.
Unfortunately, it doesn't work on Windows.
Have you tried something like
my $process = '/path/to/process';
open IN,