peteboere / css-crush

CSS preprocessor.
http://the-echoplex.net/csscrush
MIT License
537 stars 51 forks source link

stream_set_blocking not working with php://stdin on Windows #41

Closed amercier closed 11 years ago

amercier commented 11 years ago

When I try to execute cli.php, It fails with the following message: Failed to disable stdin blocking. It appears that the function stream_set_blocking is not working with php://stdin on Windows.

Configuration:

I've been looking for a workaround on the Internet, with no luck. Any suggestions?

peteboere commented 11 years ago

Thanks for spotting this. You're right, stream_set_blocking doesn't work at all in Windows. There's a fix in the test branch:

https://github.com/peteboere/css-crush/tree/test

amercier commented 11 years ago

Confirming the workaround is fixing the issue. Closing