exitCode property

Future<int> get exitCode

Completes with the remote process exit code (or -1 if the session closed without a clean exit).

Implementation

Future<int> get exitCode => _exit.future;