FreeBSD.software
Home/devel/p5-IPC-Open3-Simple

p5-IPC-Open3-Simple

0.04_1

Simple alternative to IPC::Open3

IPC::Open3::Simple aims at making it very easy to start a shell command, eventually feed its stdin with some data, then retrieve its stdout and stderr separately. When you want to run a shell command and parse its stdout/stderr or feed its stdin, you often end up using IPC::Run, IPC::Cmd or IPC::Open3 with your own parsing code, and end up writing more code than you intended. IPC::Open3::Simple is about removing this overhead and making IPC::Open3 easier to use. IPC::Open3::Simple calls IPC::Open3 and redirects stdin, stdout and stderr to some function references passed in argument to the constructor. It does a select on the input/output filehandles returned by IPC::Open3 and dispatches their content to and from those functions.

Origin: devel/p5-IPC-Open3-Simple
Category: devel
Size: 15.8KiB
License: ART10, GPLv1+
Maintainer: sunpoet@FreeBSD.org
Dependencies: 1 packages
Required by: 0 packages
$pkg install p5-IPC-Open3-Simple

Dependencies (1)

More in devel