Pode
Pode copied to clipboard
-DisableTermination this parameter does not work

I have put disabletermination there, but it seems not work as I expected, I remembered 2.5.2 works fine.
Thanks Eric Xin
Hi @ericxin1982,
If you mean that Ctrl-C still terminates, then yes that is weird. I've gone back a few Pode versions and it does it - in 5.1 and 7 🤔
I haven't touched that logic in a long time, so I'm wondering if something in PowerShell has changed for Ctrl-C. The switch does what it's supposed to, and Ctrl-C is no longer registered (hence why Terminating... isn't appearing), but yet it seems PowerShell is forcibly killing the process anyway!
I've had a look, but I can't see an easy way around it; but I'll continue looking though.