Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-13-2009, 02:08 PM
trailway trailway is online now
Registered User
 
Join Date: 04-07-2009
Posts: 26
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!
Reply With Quote
  #2  
Old 08-13-2009, 02:33 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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
Reply With Quote
  #3  
Old 08-13-2009, 02:49 PM
trailway trailway is online now
Registered User
 
Join Date: 04-07-2009
Posts: 26
Thank you for the rapid reply. I appreciate it.
Reply With Quote
  #4  
Old 10-14-2009, 06:15 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
This is implemented in v7.2a.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 04:38 AM.


Copyright © 1999-2023 Kinook Software, Inc.