Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- public function buildCommand($targetPath, $command, array $arguments = [])
- {
- $phpBinaryPathAndFilename = isset($this->options['phpBinaryPathAndFilename']) ? ' ' . $this->options['phpBinaryPathAndFilename'] : '';
- return 'cd ' . $targetPath . ' && FLOW_CONTEXT=' . $this->getContext()
- . $phpBinaryPathAndFilename . ' ./' . $this->getFlowScriptName() . ' ' . $this->getCommandPackageKey($command) . ':' . $command . ' '
- . implode(' ', array_map('escapeshellarg', $arguments));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement