title: How to execute an external command and capture its output in perl6?
body: <p>How can I execute an external command and capture its output in Perl6?</p>
  
  <p>Perl5-style back-ticks don't seem to work:</p>
  
  <pre><code>&gt; my $results = `ls`;
  Confused at line 1, near "my $results"
  </code></pre>
  
  <p><a href="http://perlcabal.org/syn/S16.html" rel="noreferrer">Synopsis 16</a> documents the <em>run</em> method, but this returns the exit status rather than the output from stdout.</p>
  
  <p>I'm using the Rakudo implementation (rakudo-star-2010.12).</p>