exitCode

external val exitCode: Double?(source)

The subprocess.exitCode property indicates the exit code of the child process. If the child process is still running, the field will be null.