Forum Discussion

AnneTheAgile's avatar
10 years ago

Always run cleanup script at end?

Working with powershell, I find that I can't get my returncode [1] because not all opened windows get closed. I have a script to close my kiosk app, but since it's at the end it only runs upon success. How can I have it always run? ty!

1.[] ; ; ; ; ; X.cannot capture return code from command line in powershell OR batch ; ;

6 Replies