Create a new PIPE for the output of the subprocess. Otherwise, the subprocess may fail when access standard output.
Merge branch '2.0' of https://github.com/Azure/WALinuxAgent into 2.0