mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
docs: Mention how to use a specific shell for Deno.run (#7966)
This commit is contained in:
parent
65dc86ebc3
commit
9141c76b25
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue