dev-master
9999999-dev http://kapitchi.comLong time execution script updates. Get stdout of long running script from another process!
LGPL-3.0
The Requires
- php >=5.3.3
by Matus Zeman
zf2 kapitchi
Long time execution script updates. Get stdout of long running script from another process!
Version: 0.1-dev
Author: Kapitchi Team
Website: http://kapitchi.com
Demo: http://kapitchi.com/showcase, (*1)
README.md status: INCOMPLETE, (*2)
The GNU Lesser General Public License, version 3.0, (*3)
Primary usage of this module is running long time operations "in background" and being able to receive progress updates., (*4)
TODO, (*5)
$process = $processor->registerJob(new \KapitchiProcess\Job\ShellJob('ping -n 30 kapitchi.com')); $pid = $process->getId();
$processor->run($pid);
stdoutDelta contains data written by the process to "stdOut" after the last progress request only., (*6)
{ processId: "895472f28183dc67d39d9680d93c8e9a", isFinished: false, isStarted: true, startedTime: 1366660603, runningTime: 24, registry: [ ], stdoutDelta: "Reply from 176.74.179.134: bytes=32 time=415ms TTL=38 Reply from 176.74.179.134: bytes=32 time=416ms TTL=38 Reply from 176.74.179.134: bytes=32 time=415ms TTL=38 Reply from 176.74.179.134: bytes=32 time=416ms TTL=38 " }
TODO, (*7)
Long time execution script updates. Get stdout of long running script from another process!
LGPL-3.0
zf2 kapitchi