TODO
- task resolution & blocking
- wrapping execution in subprocess
- errors & skips
- orphan tasks
Events are being send around process execution (see CleverAge\ProcessBundle\Event\ProcessEvent
) :
cleverage_process.start
: on process startcleverage_process.end
: on successful process endcleverage_process.fail
: on failed process end (with the associated error)
Another event is send when a process is executed with the CLI (see CleverAge\ProcessBundle\Event\ConsoleProcessEvent
) :
cleverage_process.cli.init
: before executing any process, giving access to console Input/Output objects
You can also use EventDispatcherTask to manually trigger an event in the middle of a process.
TODO
- ProcessLauncherTask
- pthread