Skip to content

Commit

Permalink
Improves run docs by adding filehandle argument, closes #2111
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed Jun 21, 2018
1 parent 587aa2a commit 5db6e0e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions doc/Type/IO.pod6
Expand Up @@ -394,11 +394,12 @@ See L<Proc|/type/Proc> and L<Proc::Async|/type/Proc::Async> for more details.
sub shell($cmd --> Proc)
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
interpreted by the shell, including pipes, redirects, environment variable
substitutions and so on. Shell escapes are a severe security concern and can
cause confusion with unusual file names. Use L<run|/type/IO#sub_run> if you
want to be safe.
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 interpreted by the shell, including pipes, redirects,
environment variable substitutions and so on. Shell escapes are a severe
security concern and can cause confusion with unusual file names. Use
L<run|/type/IO#sub_run> if you want to be safe.
The return value is of L<type Proc|/type/Proc>.
Expand Down

0 comments on commit 5db6e0e

Please sign in to comment.