1
0
Fork 0

Capture output of the rm command

pull/1552/merge
Jordi Boggiano 2013-02-11 22:52:06 +01:00
parent 2d40e14985
commit 1dd7700fc2
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class Filesystem
$cmd = sprintf('rm -rf %s', escapeshellarg($directory)); $cmd = sprintf('rm -rf %s', escapeshellarg($directory));
} }
$result = $this->getProcess()->execute($cmd) === 0; $result = $this->getProcess()->execute($cmd, $output) === 0;
// clear stat cache because external processes aren't tracked by the php stat cache // clear stat cache because external processes aren't tracked by the php stat cache
clearstatcache(); clearstatcache();