mozilla/rust — pull request #14075 by Rufflewind (2014-05-10 02:56:19+00:00)
Title: Add Unicode support for process spawning on Windows

- Use Unicode-aware versions of `CreateProcess` (Fixes #13815) and `Get/FreeEnvironmentStrings`.
- Includes a helper function `os::win32::as_mut_utf16_p`, which does the same thing as `os::win32::as_utf16_p` except the pointer is mutable.
- Fixed `make_command_line` to handle Unicode correctly.
- Tests for the above.