BSD Ports

sysutils/p5-POSIX-Run-Capture 1.05 DragonFly

Run command and capture its output

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv3+
Categories
perl5, sysutils
Package size
20.2 KiB, 46.8 KiB installed

Description

POSIX::Run::Capture runs an external command and captures its output. Both standard error and output are captured. Upon exit, their contents can be accessed line by line or in one chunk. Callback routines can be supplied that will be called for each complete line of output read, providing a way for synchronous processing. Standard input can be supplied as either a file handle or a text.

This module is for those who value performance and effectiveness over portability. As its name suggests, it can be used only on POSIX systems.

In the other systems

SystemPortVersion
DragonFlysysutils/p5-POSIX-Run-Capture1.05
FreeBSDsysutils/p5-POSIX-Run-Capture1.05

Install

Binary package:

pkg install p5-POSIX-Run-Capture

From DPorts:

cd /usr/dports/sysutils/p5-POSIX-Run-Capture && make install clean

Dependencies

Run dependencies 1

No port depends on this one.