kriswallsmith/assetic — pull request #411 by naitsirch (2013-05-10 11:37:05+00:00)
Title: ENV Variable 'SystemRoot' has to be passed to node prodess on Windows

Hi.
I tried to use LESS with Assetic. But I always got error messages because the node process did not return anything. Neither on STDOUT nor on STDERR. On Linux everything worked fine.
The Symfony Process Component uses `proc_open()` to create and handle the processes. Assetic passes the `NODE_PATH`correctly to the process, but as you can read on https://github.com/joyent/node/issues/1943#issuecomment-2533452 node always need the *'SystemRoot'* environment variable on Windows Systems.

I fixed the issue by passing that variable to the process in the [BaseNodeFilter](https://github.com/kriswallsmith/assetic/blob/master/src/Assetic/Filter/BaseNodeFilter.php). I am not sure if this is the right place to do that... maybe you can find a better one ;-)

Maybe this bug has something to do with [issue #69](https://github.com/kriswallsmith/assetic/issues/69).