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!

The Hidden Complexities of Running Shell Commands in Ruby

Did you know that system supports the equivalent of >dev/null output redirection? Or that backticks raise an exception when a command isn’t found, but system does not? Let’s go on a deep dive into the surprising oddities and capabilities of the Ruby standard library! https://mattbrictson.com/blog/run-shell-commands-in-ruby

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