RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Non-Blocking IO From a Bash Pipe

Here is a code sample of taking input from a pipe and simultaneously reading files off the command line ensuring that the pipe is non-blocking so that the file reading can be threaded.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in