develooper Front page | perl.qa | Postings from January 2007

Re: TAPx::Parser 0.50_06 -- Now on Windows!

Thread Previous | Thread Next
From:
David Landgren
Date:
January 22, 2007 05:14
Subject:
Re: TAPx::Parser 0.50_06 -- Now on Windows!
Message ID:
45B4B8A4.9020100@landgren.net
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.

David


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About