The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

scriptx-eg-run-command - Run a command

VERSION

This document describes version 0.000004 of scriptx-eg-run-command (from Perl distribution ScriptX), released on 2020-10-01.

SYNOPSIS

 % script-eg-run-command
 ...

DESCRIPTION

This script loads the ScriptX::Run plugin to run something. The plugin accepts a coderef (code) or a string/array for external command (passed to IPC::System::Options's system()). Alternatively, it can search for run() in the main package. In this script, we provide the first option.

To see the logs, you can use Log::ger::Screen:

 % PERL5OPT=-MLog::ger::Screen TRACE=1 script-eg-run-command

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/ScriptX.

SOURCE

Source repository is at https://github.com/perlancar/perl-ScriptX.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=ScriptX

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2020 by perlancar@cpan.org.

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