mirror of
https://github.com/denoland/deno.git
synced 2024-10-29 08:58:01 -04:00
docs(cli/dts): fix Deno.run example (#10567)
This commit is contained in:
parent
4f93cf9d75
commit
60c172cccb
1 changed files with 1 additions and 1 deletions
2
cli/dts/lib.deno.ns.d.ts
vendored
2
cli/dts/lib.deno.ns.d.ts
vendored
|
@ -1995,7 +1995,7 @@ declare namespace Deno {
|
|||
* `stderr` use:
|
||||
*
|
||||
* ```ts
|
||||
* const p = Deno.run({ cmd, stderr: 'piped', stdout: 'piped' });
|
||||
* const p = Deno.run({ cmd: [ "echo", "hello world" ], stderr: 'piped', stdout: 'piped' });
|
||||
* const [status, stdout, stderr] = await Promise.all([
|
||||
* p.status(),
|
||||
* p.output(),
|
||||
|
|
Loading…
Reference in a new issue