Yanick Champoux > SmokeRunner-Multi-0.18 > SmokeRunner::Multi::SafeRun

Download:
SmokeRunner-Multi-0.18.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.18   Source   Latest Release: SmokeRunner-Multi-0.19

NAME ^

SmokeRunner::Multi::SafeRun - Run an external command safely in taint mode

VERSION ^

version 0.18

SYNOPSIS ^

  use SmokeRunner::Multi::SafeRun qw( safe_run );

  my $stdour;
  my $stderr;
  safe_run(
      command       => 'agitate',
      args          => [ '-file', $filename ],
      stdout_buffer => \$stdout,
      stderr_buffer => \$stderr,
  );

DESCRIPTION ^

This module provides a taint-safe wrapper around the run3() function from IPC::Run3.

FUNCTIONS ^

This module exports one optional subroutine:

safe_run(...)

This runs the specified command and captures its stdout and stderr streams in scalar references.

The command will be run in a taint-safe manner.

It expects the following parameters:

AUTHOR ^

Dave Rolsky, <autarch@urth.org>

BUGS ^

Please report any bugs or feature requests to bug-smokerunner-multi@rt.cpan.org, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

COPYRIGHT & LICENSE ^

Copyright 2007 LiveText, Inc., All Rights Reserved.

This program is free software; you can redistribute it and /or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

AUTHORS ^

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2007 by LiveText, Inc..

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: