BSD Ports

devel/p5-System2 0.85.1 DragonFly

Like system(), but with STDERR available as well

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD3CLAUSE
Categories
devel, perl5
Package size
7.1 KiB, 11.5 KiB installed

Description

Execute a command, and returns output from STDOUT and STDERR. Much like system(). $? is set. (Much cheaper than using open3() to get the same info.)

If $debug is set, on-the fly diagnostics will be reported about how much data is being read.

In the other systems

SystemPortVersion
DragonFlydevel/p5-System20.85.1
FreeBSDdevel/p5-System20.85.1
HardenedBSDdevel/p5-System20.85.1
GhostBSDdevel/p5-System20.85.1

Install

Binary package:

pkg install p5-System2

From DPorts:

cd /usr/dports/devel/p5-System2 && make install clean

Dependencies

Run dependencies 1

No port depends on this one.