Setting right context for proces in windows

Fixes an issue where windows will lose the context of a new process.
Introducing problems with environment settings.
Merge pull request #52 from wasigh/process-context-fix-windows

Setting right context for proces in windows