Capture output of the rm command
parent
2d40e14985
commit
1dd7700fc2
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue