itgalaxy/bin-check

Check if a binary is working by checking its exit code

2.0.0 2017-04-07 09:49 UTC

This package is auto-updated.

Last update: 2024-11-13 12:01:38 UTC


README

Latest Stable Version Travis Build Status Build status Coverage Status

Check if a binary is working by checking its exit code

Install

The utility can be installed with Composer:

$ composer require bin-check

Usage

use Itgalaxy\BinCheck\BinCheck;

try {
    $binCheck = new BinCheck('path/to/bin', ['--help']);
    $binCheck->check();
} catch (\Exception $exception) {
    echo $exception->message;
}

Related

Contribution

Feel free to push your code if you agree with publishing under the MIT license.

Changelog

License