tonicforhealth/parallel-process-runner

There is no license information available for the latest version (v1.1.0) of this package.

v1.1.0 2019-01-14 15:57 UTC

This package is not auto-updated.

Last update: 2022-06-25 14:39:22 UTC


README

Install via composer

$ composer require tonicforhealth/parallel-process-runner

Usage

$runner = new \Tonic\ParallelProcessRunner\ParallelProcessRunner();
$runner
    ->setMaxParallelProcess(4)
    ->add(new Process('ls'))
    ->add([
        new Process('ls'),
        new Process('ls'),
    ])
    ->run();

Code Climate