stripe / subprocess

A port of Python's subprocess module to Ruby
MIT License
209 stars 17 forks source link

Provide helpful messages for invalid cmd and env arguments #27

Closed andrew-stripe closed 7 years ago

andrew-stripe commented 7 years ago

Currently when you supply an invalid cmd or env you get a generic TypeError from inside some Ruby C code that gives you no indication of what you did wrong. This wraps those exceptions in a message that at least tells you what argument you messed up.

r? @nelhage

nelhage-stripe commented 7 years ago

:+1: