Environment vars

Hi!
I think there's a problem with the environment vars...
Actually they are not sent correctly and the winpty cannot handle them through the pipe.
I propose to send them as a wstring (wich can handle '\0' char in body and finish with '\0\0').
It require a very little modification of peters's fork.