thoughtbot / cocaine

A small library for doing (command) lines.
https://robots.thoughtbot.com
Other
785 stars 55 forks source link

Temporarily override environment variables #15

Closed ivovh closed 12 years ago

ivovh commented 12 years ago

Sometimes it is necessary to temporarily override other environment variables besides the PATH variable. This patch allows for all environment variables to be changed.

jyurek commented 12 years ago

I changed this around a little bit as I didn't like some of the specifics of the implementation, but overall it looks good and I've pulled it in. Thanks!