Skip to content

Commit

Permalink
Merge pull request #2995 from Xliff/op-setbagmix-changes
Browse files Browse the repository at this point in the history
- MInor changes to independent-routines.pod6 to clarify options for run()
  • Loading branch information
JJ committed Aug 31, 2019
2 parents 327f852 + e9dc246 commit 817f78c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/Type/independent-routines.pod6
Expand Up @@ -522,8 +522,8 @@ L<run|/routine/run> in non-sink context:
If you want to capture standard output or error instead of having it
printed directly you can use the C<:out> or C<:err> arguments
respectively, which will make them available using the
L<C<Proc.out>|/type/Proc> method:
, which will make them available using their respective methods:
L<C<Proc.out>|/type/Proc> and L<C<Proc.err>|/type/Proc/>.
my $proc = run 'echo', 'Perl 6 is Great!', :out, :err;
$proc.out.slurp(:close).say; # OUTPUT: «Perl 6 is Great!␤»
Expand Down

0 comments on commit 817f78c

Please sign in to comment.