1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00

docs: Mention how to use a specific shell for Deno.run (#7966)

This commit is contained in:
Josh 2020-10-20 07:11:38 -04:00 committed by GitHub
parent 65dc86ebc3
commit 9141c76b25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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