eee
This commit is contained in:
@@ -40,7 +40,7 @@ trait TraitProcess
|
|||||||
private function genProcess(AbstractProcess $name): Process
|
private function genProcess(AbstractProcess $name): Process
|
||||||
{
|
{
|
||||||
return new Process(function (Process $process) use ($name) {
|
return new Process(function (Process $process) use ($name) {
|
||||||
$process->name('[' . \config('id', 'system-service') . '].' . $name->getName());
|
$process->name('[' . \config('id', 'system-service') . '].' . $name->getName() . '[' . $process->pid . ']');
|
||||||
$name->onShutdown($process)->process($process);
|
$name->onShutdown($process)->process($process);
|
||||||
},
|
},
|
||||||
$name->getRedirectStdinAndStdout(),
|
$name->getRedirectStdinAndStdout(),
|
||||||
|
|||||||
Reference in New Issue
Block a user