PDA

View Full Version : Process completed with exit code


trailway
08-13-2009, 02:08 PM
I have written an external process which I call via Builder.RunProgramEx. I use the exit code of the process in order to detemine what action to take. The non-error exit codes I use are 0 and 2. successCodes is passed in as "0,2".

Why does Visual Build log exit code 2 with the following message:

"Process completed with exit code 2"

What I want to do is for this to be silent, since I expect it.

If there is a better way to accomplish this, I am an action script newbie, then please let me know.

Thanks!

kinook
08-13-2009, 02:33 PM
Currently, RunProgramEx will always log the exit code if it is non-zero. We'll add to our request list an option to take into account the success codes when determining whether to log the exit code. For now, you might disable logging of that step's output or set the log level to Errors only.
http://www.kinook.com/VisBuildPro/Manual/stepfailure.htm
http://www.kinook.com/VisBuildPro/Manual/loggingopt.htm

trailway
08-13-2009, 02:49 PM
Thank you for the rapid reply. I appreciate it.

kinook
10-14-2009, 06:15 PM
This is implemented in v7.2a.