I use a few scripts to automate various tasks, such as opening VS Code and comparing folders with WinMerge.
What’s a little annoying to me is that the command prompt or terminal window stays open after the script finishes.
I’ve tried adding, for example, an exit command at the end of the script, but that didn’t help. I also tried removing the --noexit option from the "PowerShell7Arguments"/"PowerShellArguments" setting, which didn’t make a difference either.
Is there a way to tell the command window to close automatically after the script completes?