Gets the exit code of the process.
- Returns
- A 32-bit signed integer containing the exit code. The default value is 0 (zero), which indicates that the process completed successfully.
- Warning
- The xtd::environment::exit_code property is a signed 32-bit integer. To prevent the property from returning a negative exit code, you should not use values greater than or equal to 0x80000000.