process_launcher.php
Table of Contents
Functions
- process_launcher() : mixed
- launch process in background and store their progress in redis, it's a subprocess script for helPHP\libs\utils\system_process_to_redis
Functions
process_launcher()
launch process in background and store their progress in redis, it's a subprocess script for helPHP\libs\utils\system_process_to_redis
process_launcher(array<string|int, mixed> $argv) : mixed
must be launch from cli with arguments
can be used also to "force cancel" a job when type of process is "job", it's a special case when we want to create easily some "cancel" button for job in progress
Parameters
- $argv : array<string|int, mixed>
-
the arguments of the cli command : argument Options: -k , the key to identify the process in redis -t , the type of the process -a , params depending the type -l , list of files that need to be locked during the process -i , path to the instance