Skip to content

Commit 48b008e

Browse files
committed
Adds correct definition refs #2814
1 parent 5abe714 commit 48b008e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

doc/Type/independent-routines.pod6

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,11 @@ See also L<C<new>|/type/Proc#method_new> for more examples.
442442
443443
=head2 sub shell
444444
445-
sub shell($cmd --> Proc)
445+
=begin code
446+
multi sub shell($cmd, :$in = '-', :$out = '-', :$err = '-',
447+
Bool :$bin, Bool :$chomp = True, Bool :$merge,
448+
Str :$enc, Str:D :$nl = "\n", :$cwd = $*CWD, :$env)
449+
=end code
446450
447451
Runs a command through the system shell, which defaults to
448452
C<%*ENV<ComSpec> /c> in Windows, C</bin/sh -c> otherwise. All shell meta
@@ -455,8 +459,8 @@ The return value is of L<type Proc|/type/Proc>.
455459
456460
shell 'ls -lR | gzip -9 > ls-lR.gz';
457461
458-
See L<Proc|/type/Proc#method_shell> for more details, for example on how to capture
459-
output.
462+
See L<Proc|/type/Proc#method_shell> for more details, for example on how to
463+
capture output.
460464
461465
=end pod
462466

0 commit comments

Comments
 (0)