joyent/libuv — pull request #612 by AvianFlu (2012-11-02 16:03:38+00:00)
Title: If `options.env` is not provided, do not replace the child's environ

Currently, setting `options.env` to `NULL` for `uv_spawn` results in a child process for whom `environ == NULL`. This can cause a wide variety of unexpected issues - this patch is a simple fix, and a test for the issue.