1
0
Fork 0

Capture output, stopping errors showing up if p4 is not available

pull/2402/head
Chris Smith 2013-11-06 21:37:38 +00:00
parent a892e6a3bd
commit c0316aa957
1 changed files with 3 additions and 1 deletions

View File

@ -372,7 +372,9 @@ class Perforce
public static function checkServerExists($url, ProcessExecutor $processExecutor)
{
return 0 === $processExecutor->execute('p4 -p ' . $url . ' info -s');
$output = null;
return 0 === $processExecutor->execute('p4 -p ' . $url . ' info -s', $output);
}
public function getComposerInformation($identifier)