start-process in Powershell closes Window automatically after execution is complete

powershell, process, window

Solution

Try passing `-noexit` as a parameter to `powershell.exe` when you start it.

Problem

I find that if I start a process by `start-process` in powershell , the new window will be closed automatically after execution complete , is it possible to keep it waiting for my further command to close?

Original source