aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-IPC-System-Options/pkg-descr
blob: b9820ab1b1d53705c252244072248390e82b6d19 (plain) (blame)
1
2
3
4
5
6
7
8
9
IPC::System::Options provides replacement (wrapper) for Perl's system(),
readpipe() (qx//, a.k.a. the backtick operator), as well as IPC::Run's start()
and run(). The wrappers give you options like forcing/avoiding use of shell
(like what IPC::System::Simple offers you), logging the arguments and/or output
(using Log::ger), temporarily setting environment variables, temporarily setting
working directory, dying on non-zero exit code, capturing (or tee-ing) output
(stdout/stderr) (using Capture::Tiny), and a few others. They are meant as a
convenience so you can just call system() (or the other wrapper target) instead
of doing some additional setup and cleanup yourself.