h a future
on the Process object (as shown in the example below).
If the run method is used, the exitCode is available
through a getter on the ProcessResult instance.</p>
<pre class="language-dart"><code>import 'dart:io';

main() {
  Process.start('ls', ['-l']).then((process) {
    // Get the exit code from the new process.
    process.exitCode.then((exitCode) {
      print('exit code: $exitCode');
    });
  });
}
</code></pre>
<h2 id="other-resources">Other resources</h2>
<p><a href="https://www.dartlang.o