Bug report is up: https://github.com/net-ssh/net-sftp/issues/27

The output of gdb `where` is very telling. I think the hang is definitely 
within the system call, so I'm expecting that this might go upstream a few 
levels (maybe to Ruby core?).

Do you know anything about Open3? I recommend using this library when 
shelling out from within applications that you intend to run unattended. 
You gain a lot more flexibility in handling the stdin, stdout, and stderr 
of the application you're spawning. That can be important when things go 
wrong. You can pretty easily wrap up stdout and stderr so you can log them 
to your Ruby application logs appropriately. It's also essential when 
you're working with shell applications that expect things on stdin. I've 
used it to wrap 
gnuplot<https://github.com/bradland/apache-bench-grapher/blob/master/grapher.rb>in
 the past.

http://www.ruby-doc.org/stdlib-1.9.3/libdoc/open3/rdoc/Open3.html#method-c-popen3

On Monday, May 13, 2013 12:15:02 PM UTC-4, Chris McCann wrote:
>
> Brad,
>
> Sounds good.  My github handle is testflyjets.
>
> Cheers,
>
> Chris
>
>

-- 
-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
--- 
You received this message because you are subscribed to the Google Groups "SD 
Ruby" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to