ExitCode multimethod Methods ExitCode(x:Any ) Source: stdlib.ngs:154 ExitCode(b:Bool ) Source: stdlib.ngs:157 Returns 0 for true, 1 for falseExitCode(n:Int ) Source: stdlib.ngs:160 ExitCode(e:Exception ) Source: stdlib.ngs:163 ExitCode(r:Result ) Source: stdlib.ngs:965 EXPERIMENTAL! Do not use! ExitCode(b:Box ) Source: stdlib.ngs:4224 Zero for FullBox and one for EmptyBox ExitCode(ee:ExitException ) Source: stdlib.ngs:5449 Convert ExitException to an exit code. ExitCode(p:Process ) Source: stdlib.ngs:6539 Convert Process to exit code. Waits for the process to finish and uses its exit code.
To be used for NGS process exit such as in "ngs -e 'my_code(); $(ls)'". ExitCode(pp:ProcessesPipeline ) Source: stdlib.ngs:6554 Convert ProcessesPipeline to exit code. Waits for the processes to finish.
Returns first non-zero exit code. Returns zero if all exit codes are zero. ExitCode(t:Terminal )