diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-05-21 07:41:03 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-05-21 07:41:03 +0400 |
commit | ce8b82e4ce10f22d9dcd8ca7bdc0ad0c78116741 (patch) | |
tree | 2a251318d3eb51902e84b2bca1f15aedd12e622e /core/CliMulti.php | |
parent | 88e0d5d2a46d63fd470f75ac8afaef940ecc882b (diff) |
Fixes #5204 Add new system check whether the Piwik server supports managing processes in CLI
Diffstat (limited to 'core/CliMulti.php')
-rw-r--r-- | core/CliMulti.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/CliMulti.php b/core/CliMulti.php index 740528ecb3..70218d5139 100644 --- a/core/CliMulti.php +++ b/core/CliMulti.php @@ -159,9 +159,7 @@ class CliMulti { */ private function supportsAsync() { - return !SettingsServer::isWindows() - && Process::isSupported() - && $this->findPhpBinary(); + return Process::isSupported() && $this->findPhpBinary(); } private function cleanup() @@ -233,6 +231,7 @@ class CliMulti { if (!empty($bin)) { return trim($bin); } + return false; } private function executeAsyncCli($url, Output $output, $cmdId) |