On 22 Jan 2007, at 13:14, David Landgren wrote:
Andy Armstrong wrote:
On 21 Jan 2007, at 13:28, Abe Timmerman wrote:
I see now that on OpenVMS you also use IPC::Open3, that in turn
uses fork(). fork() is not implemented on OpenVMS, so this will
not work.
Although I'm not a VMS expert, I do have a testdrive account, and
can test some stuff if that helps.
Does anyone know the idiom for launching a process and capturing
its output on VMS? If we can get that I'll plug it into TAPx::Parser.
It's been over 10 years since I played with it, but I'm pretty sure
it Just Works: vmsperl does the redirection itself. You can
system( "perl test.t 2>&1 >test.out" );
and the startup code within the perl interpreter strips out and
performs the redirection. By the time you start running test.t,
@ARGV is empty, but stdout and stderr are redirected.
Try perldoc vmsperl for more details.
http://www.perl.com/doc/manual/html/vms/perlvms.html
Got it, thanks. I'll have a read.
--
Andy Armstrong, hexten.net