Update ProcessService.php

This commit is contained in:
Anyon 2019-11-22 10:07:00 +08:00
parent 3560e1cc14
commit a4d2a57bc9

View File

@ -54,6 +54,7 @@ class ProcessService extends Service
{
if ($this->iswin()) {
$command = __DIR__ . "/bin/console.exe {$command}";
echo $command."<br>";
pclose(popen("wmic process call create \"{$command}\"", 'r'));
} else {
pclose(popen("{$command} &", 'r'));