Registry / utility / safe-shell

safe-shell

JSON →
library1.1.0rbrubygemsunverified

Executes shell commands and captures output securely, avoiding vulnerabilities of Ruby's backtick operator.

gem install safe_shell
INSTALL
IMPORT
SIG · SAFE-SHELL
S
safe-shell
utilityrubyv1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SafeShell
require 'safe_shell'

Safely executes the echo command with an argument and prints the output.

require 'safe_shell' output = SafeShell.execute('echo', 'hello') puts output
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
1
Resources
safe-shell — gem install safe-shell · libregistry