Merge pull request #1265 from mwr/feature/use-php-bin-in-parallel-executer

use php bin in parallel executer
This commit is contained in:
Anton Medvedev 2017-06-16 23:59:34 +07:00 committed by GitHub
commit d696e46c1d
2 changed files with 4 additions and 3 deletions

View File

@ -8,12 +8,13 @@
# Changed
- Use either one of `command`, `which` or `type` commands to locate custom binary path.
- use PHP_BINARY when triggering processes in parallel-executer
## v5.0.3
[v5.0.2...v5.0.3](https://github.com/deployphp/deployer/compare/v5.0.2...v5.0.3)
### Fixed
### Fixed
- Fix a parsing of laravel version in output [#1252]
@ -46,7 +47,7 @@
## v5.0.0
[v5.0.0-beta.3...v5.0.0](https://github.com/deployphp/deployer/compare/v5.0.0-beta.3...v5.0.0)
### Changed
### Changed
- Working path default is `release_path` instead of home for simple tasks [#1205]
### Fixed

View File

@ -142,7 +142,7 @@ class ParallelExecutor implements ExecutorInterface
*/
protected function getProcess($host, Task $task)
{
$dep = DEPLOYER_BIN;
$dep = PHP_BINARY . ' ' . DEPLOYER_BIN;
$options = $this->generateOptions();
$hostname = $host->getHostname();
$taskName = $task->getName();