Hello All, For the timeout, I used a very large value, so its solved !
One more issue, when I use this: @lines = $t->cmd($bldcmd) ($prematch, $match) = $t->waitfor(Match => /Build completed on/ || / Build failed on/); I get this error: maximum input buffer length exceeded: 1048576 bytes at D:\Docs\Perl \scripts\ ti_p2k_bld.pl line 33 This could be because $prematch is gets a very big string and so it exceeds the limit which I had suspected before. Bottomline, I want to get the $match value. How can I do this ? thanks, Hashmat On Aug 7, 7:08 pm, [EMAIL PROTECTED] (Hashmat Khan) wrote: > Hi, > > The only issue I have now is with timeout, and how do I disable this ? > > thanks, > Hashmat > > On Thu, Aug 7, 2008 at 7:07 PM, Rob Dixon <[EMAIL PROTECTED]> wrote: > > Hashmat Khan wrote: > > > > ok.. the latest on this... > > > when I try cmd for certain commands, it doesn't work. > > > But looks like print works, but I don't see any output(Input_log => > > > \*STDOUT). So I can't verify my commands in print. How do we print the > > > output of print ? > > > Please try to remember to bottom-post your response to this group. Thanks. > > > You need to enable the output log as well, either as Output_log option for > > the > > constructor method, or using the output_log method after construction. > > > HTH, > > > Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/