Start PowerShell with -NoExit not working -


need launch several jobs in powershell, should in different sessions. launch one, 1 use:

start-process powershell -argumentlist "-command &{get-process}","-noexit","-noprofile" 

but new window closes command finishes. though i'm using -noexit parameter. acording this article , this question, should work. tried block window, waiting user input, closes.

while command parameters named, position still critical (see powershell.exe /?):

start-process powershell -argumentlist "-noexit", "-noprofile", "-command &{get-process}" 

Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -