@@ -286,9 +286,9 @@ |
||
286 | 286 | if ($this->isRunning === null || $this->isRunning === true) { |
287 | 287 | if ($processId = $this->getProcessId()) { |
288 | 288 | if (OperatingSystem::isWindows()) { |
289 | - $this->isRunning = !empty(shell_exec('powershell.exe -Command "Get-CimInstance -Class Win32_Process -Filter \'processid=' . $processId . '\'"')); |
|
289 | + $this->isRunning = !empty(shell_exec('powershell.exe -Command "Get-CimInstance -Class Win32_Process -Filter \'processid='.$processId.'\'"')); |
|
290 | 290 | } else { |
291 | - $this->isRunning = (bool)posix_getsid($processId); |
|
291 | + $this->isRunning = (bool) posix_getsid($processId); |
|
292 | 292 | } |
293 | 293 | } |
294 | 294 | } |