Skip to content

Commit 5db6e0e

Browse files
committed
Improves run docs by adding filehandle argument, closes #2111
1 parent 587aa2a commit 5db6e0e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

doc/Type/IO.pod6

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -394,11 +394,12 @@ See L<Proc|/type/Proc> and L<Proc::Async|/type/Proc::Async> for more details.
394394
395395
sub shell($cmd --> Proc)
396396
397-
Runs a command through the system shell, which defaults to C<%*ENV<ComSpec> /c> in Windows, C</bin/sh -c> otherwise. All shell meta characters are
398-
interpreted by the shell, including pipes, redirects, environment variable
399-
substitutions and so on. Shell escapes are a severe security concern and can
400-
cause confusion with unusual file names. Use L<run|/type/IO#sub_run> if you
401-
want to be safe.
397+
Runs a command through the system shell, which defaults to
398+
C<%*ENV<ComSpec> /c> in Windows, C</bin/sh -c> otherwise. All shell meta
399+
characters are interpreted by the shell, including pipes, redirects,
400+
environment variable substitutions and so on. Shell escapes are a severe
401+
security concern and can cause confusion with unusual file names. Use
402+
L<run|/type/IO#sub_run> if you want to be safe.
402403
403404
The return value is of L<type Proc|/type/Proc>.
404405

0 commit comments

Comments
 (0)