Skip to content

Commit a796797

Browse files
committed
Reformatting and correcting links #3561
1 parent 4058e09 commit a796797

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

doc/Type/Proc/Async.pod6

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,14 @@ newline terminators (e.g. C<\r\n> on Windows) will be automatically
139139
translated to C<\n>.
140140
141141
The C<:started> attribute is set by default to C<False>, so that you need to
142-
start the command afterwards using L<C<
143-
.start>|/type/Proc::Async#method_start>. You probably don't want to do this
142+
start the command afterwards using
143+
L<C<.start>|/type/Proc::Async#method_start>. You probably don't want to do this
144144
if you want to bind any of the handlers, but it's OK if you just need to
145145
start a external program immediately.
146146
147147
On Windows the flag C<$win-verbatim-args> disables all automatic quoting of
148-
process arguments. See L<this blog|https://docs.microsoft.com/en-us/archive/blogs/twistylittlepassagesallalike/everyone-quotes-command-line-arguments-the-wrong-way>
148+
process arguments. See
149+
L<this blog|https://docs.microsoft.com/en-us/archive/blogs/twistylittlepassagesallalike/everyone-quotes-command-line-arguments-the-wrong-way>
149150
for more information on windows command quoting. The flag is ignored on all
150151
other platforms. The flag was introduced in Rakudo version 2020.06 and is not
151152
present in older releases.
@@ -166,7 +167,8 @@ along as L<Str|/type/Str>.
166167
my $promise = $proc.start;
167168
await $promise;
168169
169-
You must call C<stdout> before you call L<#method start>. Otherwise an
170+
You must call C<stdout> before you call
171+
L<C<.start>|/type/Proc::Async#method_start>. Otherwise an
170172
exception of class
171173
L<X::Proc::Async::TapBeforeSpawn|/type/X::Proc::Async::TapBeforeSpawn> is
172174
thrown.
@@ -196,8 +198,8 @@ along as L<Str|/type/Str>.
196198
my $promise = $proc.start;
197199
await $promise;
198200
199-
You must call C<stderr> before you call L<#method start>. Otherwise an
200-
exception of class
201+
You must call C<stderr> before you call
202+
L<C<.start>|/type/Proc::Async#method_start>. Otherwise an exception of class
201203
L<X::Proc::Async::TapBeforeSpawn|/type/X::Proc::Async::TapBeforeSpawn>
202204
is thrown.
203205
@@ -442,12 +444,14 @@ L<stderr|/routine/stderr> or L<stdout|/routine/stdout> supplies.
442444
443445
Closes the standard input stream of the external program. Programs that read
444446
from STDIN often only terminate when their input stream is closed. So if
445-
waiting for the promise from L<#method start> hangs (for a program opened for
447+
waiting for the promise from
448+
L<C<.start>|/type/Proc::Async#method_start> hangs (for a program opened for
446449
writing), it might be a forgotten C<close-stdin>.
447450
448451
The C<Proc::Async> object must be created for writing (with
449452
C<Proc::Async.new(:w, $path, @args)>). Otherwise an
450-
L<X::Proc::Async::OpenForWriting|/type/X::Proc::Async::OpenForWriting> exception will the thrown.
453+
L<X::Proc::Async::OpenForWriting|/type/X::Proc::Async::OpenForWriting> exception
454+
will the thrown.
451455
452456
C<start> must have been called before calling method close-stdin,
453457
otherwise an L<X::Proc::Async::MustBeStarted|/type/X::Proc::Async::MustBeStarted> exception is thrown.

0 commit comments

Comments
 (0)