mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-05-25 16:19:14 +08:00
Update ProcessService.php
This commit is contained in:
parent
fdd2ca528b
commit
4aa4dd13a0
@ -55,7 +55,7 @@ class ProcessService extends Service
|
|||||||
if ($this->iswin()) {
|
if ($this->iswin()) {
|
||||||
$this->exec(__DIR__ . "/bin/console.exe {$command}");
|
$this->exec(__DIR__ . "/bin/console.exe {$command}");
|
||||||
} else {
|
} else {
|
||||||
$this->exec("{$command} &");
|
$this->exec("{$command} 2>&1");
|
||||||
}
|
}
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user