Sure. NP.  I hate the idea of an empty rescue block, too.  That was just
how the examples I saw were
written (and I'm more of a python programmer than a ruby one)

On Mon, Jan 21, 2013 at 10:36 AM, Seth Vargo <notifications@github.com>wrote:

> In lib/strainer/command.rb:
>
> > @@ -33,7 +35,16 @@ def run!
> >
> >        Dir.chdir Strainer.sandbox_path do
> >          speak command
> > -        speak `#{command}`
> > +        PTY.spawn command do |, w, pid|
> > +          begin
> > +            r.sync
> > +            r.each_line { |line| speak line }
> > +          rescue Errno::EIO => e
> > +            # simply ignoring this
>
> Can you just dump to e $stderr?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/customink/strainer/pull/9/files#r2714589>.
>
>



-- 
Tom Howe
Senior Software Engineer
Narrative Science