Skip to content

Available examples

All examples are in examples/.

How to execute an example

You need to download the latest version of parallel-processes-example.sh.

parallel-processes-example.sh has one mandatory argument: the path to the example, after examples/ directory:

parallel-processes-example.sh path/to/example.php

Configure an example

Some of them can be configured with env vars.

All configuration are prefixed by PP_.

PP_CANCELED_AS_ERROR=true \
    parallel-processes-example.sh usage/process-configuration/canceled-as-error.php