ExitCode multimethod
Methods
- ExitCode(x:Any) Source: bootstrap.ngs:42
- ExitCode(b:Bool) Source: bootstrap.ngs:45
Returns
0 for true, 1 for false
- ExitCode(n:Int) Source: bootstrap.ngs:48
- ExitCode(e:Exception) Source: bootstrap.ngs:51
- ExitCode(b:Box) Source: stdlib.ngs:2707
- Zero for FullBox and one for EmptyBox
- ExitCode(r:Result) Source: stdlib.ngs:2967
- EXPERIMENTAL! Do not use!
- ExitCode(ee:ExitException) Source: stdlib.ngs:3758
- Convert ExitException to an exit code.
- ExitCode(p:Process) Source: stdlib.ngs:4596
- Convert Process to exit code. Waits for the process to finish and uses its exit code.
- ExitCode(cp:CommandsPipeline) Source: stdlib.ngs:4601
- Convert CommandsPipeline to exit code. Waits for the processes to finish.
Returns first non-zero exit code. Returns zero if all exit codes are zero.
- ExitCode(m:Match) Source: stdlib.ngs:5294
- Convert Match to exit code.
Returns
0 for successful match (MatchY), 1 for unsuccessful match (MatchN).