Registry / utility / popen4

popen4

JSON →
library0.1.2rbrubygemsunverified

Cross-platform API for executing child processes with access to stdin, stdout, stderr, PID, and exit status.

gem install popen4
INSTALL
IMPORT
SIG · POPEN4
P
popen4
utilityrubyv0.1.2
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.

POpen4
require 'popen4'

Run a command and capture its output streams.

require 'popen4' status = POpen4.popen4('echo hello') do |stdout, stderr, stdin, pid| puts stdout.read end puts "Exit status: #{status.exitstatus}"
Debug
Known issues
gotchaNot maintained; consider using Open3 instead.
fix
Replace with Open3.popen3 from Ruby's standard library.
affects: >= 0.1.0
Upgrade
Version history
0.1.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
popen4 — gem install popen4 · libregistry