Import of p5-IPC-Run-SafeHandles;

IPC::Run and IPC::Run3 are both very upset when you try to use them
under environments where you have STDOUT and/or STDERR tied to something
else, such as under fastcgi.

The module adds safe-guarding code when you call IPC::Run or IPC::Run3
under such environment to make sure it always works.
This commit is contained in:
robert 2010-05-29 23:10:11 +00:00
parent 93c2be1071
commit 1296923fe0
4 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,18 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/05/29 23:10:11 robert Exp $
COMMENT= safe guarding for IPC::Run
MODULES= cpan
DISTNAME= IPC-Run-SafeHandles-0.02
CATEGORIES= devel
# perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
REGRESS_DEPENDS= ::devel/p5-Test-Pod-Coverage \
::devel/p5-Test-Pod
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (IPC-Run-SafeHandles-0.02.tar.gz) = v0g4p0s5PZqCfls148Jqng==
RMD160 (IPC-Run-SafeHandles-0.02.tar.gz) = UTx8+yOvc5vCLw7uCdZh+CetyQo=
SHA1 (IPC-Run-SafeHandles-0.02.tar.gz) = 2Ar8dzc33EDhkCTe30VbBPPOAhs=
SHA256 (IPC-Run-SafeHandles-0.02.tar.gz) = AFTdvopT3dqoqFNeJ7sKU66YPN41419XVe55jjbp89g=
SIZE (IPC-Run-SafeHandles-0.02.tar.gz) = 19514

View File

@ -0,0 +1,10 @@
IPC::Run and IPC::Run3 are both very upset when you try to use them
under environments where you have STDOUT and/or STDERR tied to something
else, such as under fastcgi.
The module adds safe-guarding code when you call IPC::Run or IPC::Run3
under such environment to make sure it always works.
If you intend to release your code to work under normal envionrment as
well as under fastcgi, simply use this module *after* the "IPC" modules
are loaded in your code.

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/05/29 23:10:11 robert Exp $
${P5SITE}/IPC/Run/SafeHandles.pm
@man man/man3p/IPC::Run::SafeHandles.3p