pydio/pydio-core — pull request #534 by Ellega (2014-04-05 17:00:25+00:00)
Title: smb.php don't work with lot of files or folders if "Windows OS"

The whole problem with hanging in stream_get_contents is in the way how process is created. The correct way is to open STDERR with read/write mode of pipe.