Runs a command and re-runs it on occasional, uncontrollable failure exits.
Perl
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
script
.undeadrc.pl.sample
LICENSE
README.md
cpanfile
cpanfile.snapshot
undead

README.md

undead

DESCRIPTION

undead runs a command and re-runs it on occasional, uncontrollable failure exits.

SYNOPSIS

undead [-n <retry count>] command args...

Rename/symlink undead to undead_prog_, to invoke prog implicitly. eg.

undeadperl mayfail.pl

CONFIGURATION

Place .undeadrc.pl in $PWD with content for example:

{
    pattern => {
        stderr => [
            qr/^PhantomJS has crashed\./,
        ]
    },
    count => 20,
};