close process shell after killing the process

by Banks1850 at 2012-10-16 08:42:35

hello all,

I have a powershell script that runs as a “control” shell, which starts and stops processes in a child dos shell when certain criteria are met. Right now, when the control shell kills the process it leaves the window it was running in open. I’m looking for a way to close that process shell when I kill the process. does anyone have a way to do this?


-Steve H.
by DonJ at 2012-10-18 07:44:38
You have this same question in another thread; I’ll respond there.