<commit_before># PHP Process Manager

This is based on SYmfony Process and the work done in [symfony/symfony#8753](https://github.com/symfony/symfony/pull/8753).

## Usage examples

Run 4 jobs in parallel

```php
$manager = new Neutron\ProcessManager\ProcessManager();
$manager
    ->add(new Process('...'))
    ->add(new Process('...'))
    ->add(new Process('...'))
    ->add(new Process('...'))
    ->run();
```

Run 4 jobs in queue

```php
$manager = new Neutron\ProcessManager\ProcessManager();
$manager
    ->setMaxParallelProcesses(1)
    ->add(new Process('...'))
    ->add(new Process('...'))
    ->add(new Process('...'))
    ->add(new Process('...'))
    ->run();
```

## License
<commit_msg>Add travis build icon<commit_after># PHP Process Manager

This is based on SYmfony Process and the work done in [symfony/symfony#8753](https://github.com/symfony/symfony/pull/8753).

[![Build Status](https://travis-ci.org/romainneutron/ProcessManager.png?branch=master)](https://travis-ci.org/romainneutron/ProcessManager)

## Usage examples

Run 4 jobs in parallel

```php
$manager = new Neutron\ProcessManager\ProcessManager();
$manager
    ->add(new Process('...'))
    ->add(new Process('...'))
    ->add(new Process('...'))
    ->add(new Process('...'))
    ->run();
```

Run 4 jobs in queue

```php
$manager = new Neutron\ProcessManager\ProcessManager();
$manager
    ->setMaxParallelProcesses(1)
    ->add(new Process('...'))
    ->add(new Process('...'))
    ->add(new Process('...'))
    ->add(new Process('...'))
    ->run();
```

## License

{'fraction_non_alphanumeric': 0.2135048231511254, 'fraction_numerical': 0.01414790996784566, 'mean_word_length': 3.4971098265895955, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 25, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6729265', 'n_tokens_mistral': 529, 'n_tokens_neox': 505, 'n_words': 121}