peters/winpty — pull request #1 by dabretin (2014-05-21 11:54:24+00:00)
Title: Change "env" type of winpty_start_process

Hi!
Actually, you send the environment as as wchar*.
The putWString of the Buffer Class send only the very first string (stop at the first NULL char), soo the environment is "cut" at the first line.
If we use a wstring, it can handle all the vars separated by NULL and finishing by 2*NULL (required format for the CreateProcess).