Forum Discussion

AnneTheAgile's avatar
AnneTheAgile
Contributor
10 years ago
Solved

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 ; ; http://smartbear.com/forums/f74/t98856/cannot-capture-return-code-from-command-line-in/

6 Replies