소스 검색

Capture output of the rm command

Jordi Boggiano 12 년 전
부모
커밋
1dd7700fc2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Composer/Util/Filesystem.php

+ 1 - 1
src/Composer/Util/Filesystem.php

@@ -66,7 +66,7 @@ class Filesystem
             $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
         clearstatcache();