The ServerGrove blog has posted their latest Symfony2 component spotlight, this time focusing on the Process component.
The Symfony2 Process component, allows us to execute commands in sub-processes. [...] The Process component provides an object-oriented abstraction on top of proc_* functions to execute independent processes from PHP.
As with the other posts in the series, they walk you through the installations via Composer and some examples of its use. The post also shows the use of exit codes, working with long running processes and how to execute PHP code in the command. They also briefly look "under the hood" at how the component does what it does (on top of the proc_* functions).
Link: http://blog.servergrove.com/2014/04/16/symfony2-components-overview-process/
没有评论:
发表评论