/**
* {@inheritdoc}
*/
public function handle()
{
if (!$this->processLauncher->isSupported()) {
throw new RuntimeException('The ProcessLauncher must be supported for the man help to run.');
}
if (!$this->manBinary) {
$this->manBinary = $this->executableFinder->find('man');
}
if (!$this->manBinary) {
throw new RuntimeException('The "man" binary was not found.');
}
return $this->processLauncher->launchProcess(escapeshellcmd($this->manBinary) . ' -l %path%', array('path' => $this->path), false);
}