This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Where is exit status when TI compiler generated program exits?

Hi,

My application needs to read the exit status or return code of a TI compiler generated program running in CCSv5.3 or through Debug Server Scripting in Windows 7. For example in the code below, how can I access the "error_code"?

if input_params_invalid {

exit (error_code);

}

For VC++ executable running in Windows, the return code is written to system variable "errorlevel". Is there a way to write the return status of a TI platform executable to "errorlevel"?

Thanks in advance.

Jianzhong