Re: [Ssh-sftp-perl-users] Net::SSH2 don't see the result of commands
Brought to you by:
dbrobins
From: David R. <dbr...@cp...> - 2007-02-12 01:52:18
|
On Saturday February 10, 2007 09:30, Serge Leschinsky wrote: > I'm trying to see the result of executing "uname -a" on my host. > Unfortunately, there is no output from the script. > Could you please point me what I do wrong? Both your test1 and test2 scripts below works fine for me (using Gentoo Linux, perl 5.8.8, Net::SSH2 0.09). Try adding a sleep(5) before you start reading the output, to see if it's just an output delay. -- Dave Isa. 40:31 |