# Execute program abilty to set Exit Code to variable

**URL:** https://www.finalbuilder.com/forums/t/execute-program-abilty-to-set-exit-code-to-variable/4187
**Category:** Feature Requests
**Created:** [February 8, 2013, 10:29am UTC](https://www.finalbuilder.com/forums/t/execute-program-abilty-to-set-exit-code-to-variable/4187 "2013-02-08T10:29:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![llandr](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/l/a9adbd/32.png) [@llandr](https://www.finalbuilder.com/forums/u/llandr)
#### Post date: [February 8, 2013, 10:29am UTC](https://www.finalbuilder.com/forums/t/execute-program-abilty-to-set-exit-code-to-variable/4187/1 "2013-02-08T10:29:44Z")

</div>

I would like to set a variable to the exit code when using Execute program.

My usecase is RedGates SQL Compare that can give me 2 exit codes which are both ok.
