Raise exception on shell command failure?
Ruby 2.6 adds an exception:
argument:
system('ctat nonexistent.txt', exception: true) # Errno::ENOENT (No such file or directory - ctat)
Ruby 2.6 adds an exception:
argument:
system('ctat nonexistent.txt', exception: true) # Errno::ENOENT (No such file or directory - ctat)