NAnt SDK Documentation - v0.92

ExternalProgramBase.ExitCode Property

Gets the value that the process specified when it terminated.

[Visual Basic]
Public ReadOnly Property ExitCode As Integer
[C#]
public int ExitCode {get;}

Property Value

The code that the associated process specified when it terminated, or -1000 if the process could not be started or did not exit (in time).

See Also

ExternalProgramBase Class | NAnt.Core.Tasks Namespace