NAME

Proch::Cmd - Execute shell commands controlling inputs and outputs

VERSION

version 0.002

NAME

Proch::Cmd - a simple library to execute shell commands

VERSION

version 0.002

METHODS

new()

The method creates a new shell command object, with the followin properties:

command [required]

The shell command to execute

workingdir (default: /tmp) [important]

Command temporary directory, should be the pipeline output directory, can be omitted for minor commands like 'mkdir', but should be set for pipeline steps.

description

Optional description of the command, for log and verbose mode

input_files (array)

A list of files that must exist and be not empty before command execution

output_files (array)

A list of files that must exist and be not empty after command execution

die_on_error (default: 1)

If command returns non zero value, die (default behaviour)

verbose

Enable verbose execution

no_cache

Don't skip command execution if the command was already executed

simplerun()

Executes the shell command returning an object

AUTHOR

Andrea Telatin <andrea@telatin.com>

COPYRIGHT AND LICENSE

This software is free software under MIT Licence.

AUTHOR

Andrea Telatin <andrea.telatin@quadram.ac.uk>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2019 by Andrea Telatin.

This is free software, licensed under:

The MIT (X11) License

8 POD Errors

The following errors were encountered while parsing the POD:

Around line 298:

'=item' outside of any '=over'

Deleting unknown formatting code U<>

Around line 302:

Deleting unknown formatting code U<>

Around line 307:

Deleting unknown formatting code U<>

Around line 311:

Deleting unknown formatting code U<>

Around line 315:

Deleting unknown formatting code U<>

Around line 319:

Deleting unknown formatting code U<>

Around line 323:

Deleting unknown formatting code U<>

Around line 327:

Deleting unknown formatting code U<>