ospek/ospek-cli
Composer 安装命令:
composer require ospek/ospek-cli
包简介
run php file and command in background
README 文档
README
Install:
$ composer global require ospek/ospek-cli
or build
$ git clone https://github.com/os-pek/ospek-cli.git
$ cd ospek-cli
$ composer install
$ ./vendor/bin/box build
$ mv ospek.phar /local/bin/ospek
Start php in background:
$ ospek start <php file>
option:
- --pid , -p : path file to store pid
- --output, -o : path file to store output
Check pid status:
$ ospek status <pid>
option:
- --file, -f : path file contain pid
Kill process:
$ ospek kill <pid>
option:
- --file, -f : path file contain pid
Start other program:
$ ospek sh <'command'>
option:
- --pid , -p : path file to store pid
- --output, -o : path file to store output
统计信息
- 总下载量: 534
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-03-01