I want to get output from Powershell to my program.But when I run following code, Powershell doesn't return result and my program waiting, only whenI close Powershell, then my program can get result.