p', ['-i', 'main', 'test.dart']).then((result) {
  stdout.write(result.stdout);
  stderr.write(result.stderr);
});
</code></pre>
    </section>
    
    <section class="summary source-code" id="source">
      <h2><span>Implementation</span></h2>
      <pre class="language-dart"><code class="language-dart">external static Future&lt;ProcessResult&gt; run(
    String executable, List&lt;String&gt; arguments,
    {String workingDirectory,
    Map&lt;String, String&gt; environment,
    bool includeParentEnvironm