BSD Ports

devel/p5-IPC-ShellCmd 0.005_1 DragonFly

Run a command with a given environment and capture output

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
22.1 KiB, 55.8 KiB installed

Description

IPC::ShellCmd comes from the nth time I've had to implement a select loop and wanted appropriate sudo/su privilege magic, environment variables that are set in the child, working directories set etc.

It aims to provide a reasonable interface for setting up command execution environment (working directory, environment variables, stdin, stdout and stderr redirection if necessary), but allowing for ssh and sudo and magicking in the appropriate shell quoting.

It tries to be flexible about how you might want to capture output, exit status and other such, but in such a way as it's hopefully easy to understand and make it work.

Setup method calls are chain-able in a File::Find::Rule kind of a way.

In the other systems

SystemPortVersion
DragonFlydevel/p5-IPC-ShellCmd0.005_1
FreeBSDdevel/p5-IPC-ShellCmd0.005_1
HardenedBSDdevel/p5-IPC-ShellCmd0.005_1
GhostBSDdevel/p5-IPC-ShellCmd0.005_1

Install

Binary package:

pkg install p5-IPC-ShellCmd

From DPorts:

cd /usr/dports/devel/p5-IPC-ShellCmd && make install clean

Dependencies

Run dependencies 3
Required by 1