Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Minor reflow
  • Loading branch information
JJ committed Jun 21, 2018
1 parent 5db6e0e commit 81f5da0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions doc/Type/IO.pod6
Expand Up @@ -376,8 +376,9 @@ Note that C<--> is required for many programs to disambiguate between
command-line arguments and
L<filenames that begin with hyphens|http://mywiki.wooledge.org/BashPitfalls#Filenames_with_leading_dashes>.
A sunk L<Proc> object for a process that L<exited|/routine/exitcode> unsuccessfully
will throw. If you wish to ignore such failures, simply use L<run> in non-sink context:
A sunk L<Proc> object for a process that L<exited|/routine/exitcode>
unsuccessfully will throw. If you wish to ignore such failures, simply
use L<run> in non-sink context:
run 'false'; # SUNK! Will throw
run('false').so; # OK. Evaluates Proc in Bool context; no sinking
Expand All @@ -388,7 +389,8 @@ To capture output or error you can use the C<:out> or C<:err> arguments respecti
$proc.out.slurp(:close).say; # OUTPUT: «Perl 6 is Great!␤»
$proc.err.slurp(:close).say; # OUTPUT: «␤»
See L<Proc|/type/Proc> and L<Proc::Async|/type/Proc::Async> for more details.
See L<Proc|/type/Proc> and L<Proc::Async|/type/Proc::Async> for more
details.
=head2 sub shell
Expand Down

0 comments on commit 81f5da0

Please sign in to comment.