Please group reply so others can help and be helped, and to prevent
getting (accidentally) ignored.

> Okay now I tryed instead of:
> $rs = $t->print ( "./komm-test.pl" ) or die "cannot execute !\n";
> 
> this:
> 
> $rueck_s = $t->cmd ( "./komm-test.pl" ) or die "Kann kein Script
starten!\n";
> 
> and get this message:
> command timed-out at Refdb.pm line 94
> And this is absolutly normal because the script which is called takes
a lot 
> of time to execute. But to call it with an '&' dosn't fix it neighter!!!! 
> What can I do in this case?
> 

It appears from the docs that the C<cmd> method can take a timeout as
well.  I suspect adding the '&' will cause problems because the shell
will return control to Net::Telnet and there will be no way to
communicate with the process.  Note that when you switch to include
other arguments with C<cmd> it appears you need to pass the command with
the 'String' key.

> Thank you very much...
> 
> Gruss Christian
> 
> 

You need to read the docs thoroughly before asking questions....

http://danconia.org

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to