when using Net::SSH::Connection::Session#exec! ,sometimes command
execution is too long so I want to set a timeout time for it .
How can I achieve the goal ?
···
--
Posted via http://www.ruby-forum.com/.
when using Net::SSH::Connection::Session#exec! ,sometimes command
execution is too long so I want to set a timeout time for it .
How can I achieve the goal ?
--
Posted via http://www.ruby-forum.com/.
-----Messaggio originale-----
Da: Bin Jin [mailto:bin.jinb@qq.com]
Inviato: giovedì 17 novembre 2011 08:40
A: ruby-talk ML
Oggetto: Can we set a timeout time for Net::SSH::Connection::Session#exec!
when using Net::SSH::Connection::Session#exec! ,sometimes command execution
is too long so I want to set a timeout time for it .
How can I achieve the goal ?
--
Posted via http://www.ruby-forum.com/.
--
Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
Sponsor:
Capodanno al parco Oltremare Riccione: Pacchetto hotel 3 stelle in centro + ingresso al parco.
* Mezza pensione, Internet gratis, animazione per bimbi. Scopri l'offerta!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid980&d)-12