exitCode property Null safety

Future<int> exitCode

Returns a Future which completes to the exit code of the process, once it completes.

Implementation

Future<int> get exitCode => _process.exitCode;