NI Package Manager (NIPM)

cancel
Showing results for 
Search instead for 
Did you mean: 

NipbCli.exe return log and exit code

Solved!
Go to solution

Helo,

 

I am using nipbcli.exe to build by package. It creates log file in directory of pbs file. Is there an option to redirect this file output to standard output?  Does this application give specific exit code when build succeeds or fails ?

 

Thanks

0 Kudos
Message 1 of 2
(1,854 Views)
Solution
Accepted by topic author pawhan11

Hi,

 

Everything in the log file should already be included in standard out for nipbcli.exe. The log file will be scoped to only include the message logged while the solution file was open, whereas the standard out will include some message before and after the solution file is loaded.

 

The exit codes for the application are as follows:

Success = 0
GeneralError = 1
CommandLineError = 2
BuildDeployError = 3
Canceled = 4
SolutionLoadError = 5
SolutionSaveError = 6

 

Note, I filed a bug to include this information in the help in the next version.

National Instruments
Message 2 of 2
(1,815 Views)