Run shell commands safely, even with user-supplied values


Apart from the basic, normal stuff, you can use nterpolated arguments. It also prevents attempts at being bad.

You can also see what's getting run. The 'Command' part it logs is in green for visibility!

Terrapin will only shell-escape what is passed in as interpolations to the run method. It WILL NOT escape what is passed in to the second argument of new. Terrapin assumes that you will not be manually passing user-generated data to that argument and will be using it as a template for your command line's structure.

The performance can be increased by installing the posix-spawn gem.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install ruby-terrapin