exitCode property

int exitCode
getter/setter pairinherited

The code the process ends with: on the process's terminal, exitCode of dart:io, which Cli.run sets when its body fails. Elsewhere it is kept here, 0 until it is set, so that a test reads it without ending its own process with it.

Implementation

var exitCode = 0;