2017 © Pedro Peláez
 

library bproccess

php background proccess

image

renlight10/bproccess

php background proccess

  • Wednesday, January 11, 2017
  • by renlight10
  • Repository
  • 1 Watchers
  • 0 Stars
  • 852 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 17 % Grown

The README.md

A Maintenance for php background process wrapper #88704, (*1)

  • require
    • Linux
    • nohup
  • new function
    • log output
    • read output log

Install

composer require renlight10/bproccess

Usage

``` php use renlight10\BProccess\BProccess; $proccess = new BProccess(command,locationfile=optional); echo $proccess->getPid();, (*2)

if you already have pid
``` php
use renlight10\BProccess\BProccess;
$proccess = new BProccess;
$proccess->setPid(int);

possible method: - getPid() - get process id - setPid(int) - set process id - status() - check process status - start() - start process (process auto start when command in construct) - stop() - stop process - read("location file") - read output log, (*3)

Secure your user input for process argument with this., (*4)

The Versions

11/01 2017

dev-master

9999999-dev https://github.com/renlight10/BProccess

php background proccess

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by ren

nohup background proccess

10/01 2017

1.0.1

1.0.1.0 https://github.com/renlight10/BProccess

php background proccess

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by ren

nohup background proccess