RubyFlow The Ruby and Rails community linklog

tty-command - Kick that bash habit

tty-command runs external commands and it’ll halt automatically if a command fails. It’s easy to get verbose or quiet output as appropriate, or even capture output and parse it with Ruby. It provides man options such as dry run mode for inspecting commands without actually executing them or timeout to ensure that commands don’t hung indefinitely. Escaping arguments is a breeze. These are all areas where traditional shell scripts tend to fall flat.

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