Search found 1 match

by mdyunusraza
Wed Jun 16, 2021 8:12 pm
Forum: Former and Future Customers - Questions
Topic: Unable to get correct $lastexitcode from compiled EXE
Replies: 1
Views: 20439

Unable to get correct $lastexitcode from compiled EXE

Hi All, I have created a simple GUI app with buttons and each button click will give an exit code. The script is working fine and I am getting the exit code when i run the script. However I am not able to retrieve the exit code in powershell using $LASTEXITCODE variable. Its always empty or sometime...