Skip to content

Commit d1bcc0a

Browse files
committed
Fix documentation for &run in type IO
1 parent 9d2b828 commit d1bcc0a

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

lib/Type/IO.pod

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -308,17 +308,11 @@ C<False>.
308308
309309
=head2 sub run
310310
311-
sub run(*@args ($, *@)) returns Proc::Status:D
311+
sub run(*@args ($, *@)) returns Proc
312312
313-
Runs an external command without involving a shell (if possible). Expects the
314-
command and each of its command line arguments as a list.
313+
Runs an external command without involving a shell (if possible).
315314
316-
The return value is of L<type Proc::Status|/type/Proc::Status>.
317-
318-
run 'systemctl', 'restart', 'apache2'
319-
320-
Arguments are not subject to shell expansions, shell variable interpolation or
321-
other shenanigans. See L<shell|/type/IO#sub_shell> if you want that.
315+
See L<Proc|/type/Proc> for more details
322316
323317
=head2 sub shell
324318

0 commit comments

Comments
 (0)