Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Process completed with exit code (https://www.kinook.com/Forum/showthread.php?t=4101)

trailway 08-13-2009 02:08 PM

Process completed with exit code
 
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/Ma...tepfailure.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.


All times are GMT -5. The time now is 12:39 PM.


Copyright © 1999-2023 Kinook Software, Inc.