Anonymous user
Get system command output: Difference between revisions
m
Fix dead documentation urls
Drkameleon (talk | contribs) (Added Arturo implementation) |
m (Fix dead documentation urls) |
||
Line 1,336:
my $p2 = run 'cat', '-n', :in($p1.out), :out;
say $p2.out.slurp-rest;</lang>
See [
If you really want to run something in shell and you understand potential security problems, then you can use <code>qx//</code> (interpolates environment variables) or <code>qqx//</code> (interpolates normally). See [
<lang perl6>say qx[dir]</lang>
|