Return exit code from uipath

Hi Developers,

I am executing my xaml file from command line using the command

UiRobot.exe exeute --file “path to xaml”

I want to return an exit code in the same command prompt at the end of xaml execution. Pls advice how to return exit code from uipath