Registry / utility / subexec

subexec

JSON →
library0.2.3rbrubygemsunverified

Subexec spawns a subprocess with an optional timeout, allowing execution of external commands with time limits.

gem install subexec
INSTALL
IMPORT
SIG · SUBEXEC
S
subexec
utilityrubyv0.2.3
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.

Subexec
require 'subexec'

Run a shell command with a 5-second timeout.

require 'subexec' result = Subexec.run('echo hello', timeout: 5) puts result.output
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.3latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
subexec — gem install subexec · libregistry