#
use strict;
use warnings;
use Getopt::Long::Descriptive;
use Path::Tiny qw(path);
use JSON qw(encode_json);
use YAML qw(Dump);
use Data::Dump qw(dump);
BEGIN {
use lib "lib";
use lib "..
.pl> captures the C<STDOUT>, C<STDERR>, the C<EXIT CODE> from a
sub process and parses it into I<JSON>, I<YAML> or I<Plain Text> formats.
=head1 OVERVIEW
run_subprocess.pl [-bcdfhnrtx] [long op
ils': Process terminating ...
:====END:====
=item JSON Format
$ bin/run_subprocess.pl -n "test-script" -c "t/test_script.pl 2 0" -f json | jq '.'
{
"exit_code": 0,
"error_co