Re: [Ssh-sftp-perl-users] Net::SSH::Perl is hanging on long command lines
Brought to you by:
dbrobins
From: James P. <jam...@op...> - 2013-06-11 05:04:40
|
On Mon, Jun 10, 2013, at 05:03 PM, Ryan, Martin G wrote: > Le 10 juin 2013 à 12:40, James Patterson <jam...@op...> a > écrit : > > > The problem seems to occur when the command being executed is longer > > than about 22000 characters. > > > > I've uploaded a simplified version of the script - that only does an > > echo - to pastebin: > > http://pastebin.com/NtFmkvZz > > > > Forgive me if I've got the wrong end of stick, but you look to me to be > sending 50,000 periods as a command. > > Would you not expect that to fail? > > Did you mean > > $cmd .= "."x50000; yes. > > instead of; > > $cmd = "."x50000; > > (not that I'm sure that 50,000 periods after "echo " is going to fly real > well either) > > Regards, > Martin > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Ssh-sftp-perl-users mailing list > Ssh...@li... > https://lists.sourceforge.net/lists/listinfo/ssh-sftp-perl-users -- http://www.fastmail.fm - Same, same, but different... |