0

I have to close a Python console that is executing a process, i have to send "Ctrl+c" when the windows session close.

Anybody knows how could make a script for this (Powershell)?

Thanks!

I expected how close the session using a Power Shell Script

  • 1
    Does this answer your question? [Doing something before program exit](https://stackoverflow.com/questions/3850261/doing-something-before-program-exit) – Paolo Jul 25 '23 at 14:11

0 Answers0