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.
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!
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