diff options
Diffstat (limited to 'docs/examples/subprocess.md')
-rw-r--r-- | docs/examples/subprocess.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/examples/subprocess.md b/docs/examples/subprocess.md index 137e7d6b4..0e661a63b 100644 --- a/docs/examples/subprocess.md +++ b/docs/examples/subprocess.md @@ -10,6 +10,8 @@ [stdin](https://doc.deno.land/builtin/stable#Deno.stdin), [stdout](https://doc.deno.land/builtin/stable#Deno.stdout) and [stderr](https://doc.deno.land/builtin/stable#Deno.stderr) streams. +- Use a specific shell by providing its path/name and its string input switch, + e.g. `Deno.run({cmd: ["bash", "-c", '"ls -la"']}); ## Simple example |