Skip to content
Sections
>> Trisquel >> Packages >> aramo >> ruby >> ruby-terrapin
nabia  ] [  aramo  ]
[ Source: ruby-terrapin  ]

Package: ruby-terrapin (0.6.0-4)

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.

Other Packages Related to ruby-terrapin

  • depends
  • recommends
  • suggests
  • sug: ruby-posix-spawn
    Ruby Implementation of posix_spawn(2) for faster process spawning

Download ruby-terrapin

Download for all available architectures
Architecture Package Size Installed Size Files
all 9.7 kB40 kB [list of files]