File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -394,11 +394,12 @@ See L<Proc|/type/Proc> and L<Proc::Async|/type/Proc::Async> for more details.
394
394
395
395
sub shell($cmd --> Proc)
396
396
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.
402
403
403
404
The return value is of L < type Proc|/type/Proc > .
404
405
You can’t perform that action at this time.
0 commit comments