mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
fix(docs): update Deno.Command docs (#24097)
This commit is contained in:
parent
92c881faa7
commit
32f655db54
1 changed files with 3 additions and 2 deletions
5
cli/tsc/dts/lib.deno.ns.d.ts
vendored
5
cli/tsc/dts/lib.deno.ns.d.ts
vendored
|
@ -4540,6 +4540,9 @@ declare namespace Deno {
|
||||||
* If `stdin` is set to `"piped"`, the `stdin` {@linkcode WritableStream}
|
* If `stdin` is set to `"piped"`, the `stdin` {@linkcode WritableStream}
|
||||||
* needs to be closed manually.
|
* needs to be closed manually.
|
||||||
*
|
*
|
||||||
|
* `Command` acts as a builder. Each call to {@linkcode Command.spawn} or
|
||||||
|
* {@linkcode Command.output} will spawn a new subprocess.
|
||||||
|
*
|
||||||
* @example Spawn a subprocess and pipe the output to a file
|
* @example Spawn a subprocess and pipe the output to a file
|
||||||
*
|
*
|
||||||
* ```ts
|
* ```ts
|
||||||
|
@ -4601,8 +4604,6 @@ declare namespace Deno {
|
||||||
/**
|
/**
|
||||||
* Executes the {@linkcode Deno.Command}, waiting for it to finish and
|
* Executes the {@linkcode Deno.Command}, waiting for it to finish and
|
||||||
* collecting all of its output.
|
* collecting all of its output.
|
||||||
* If `spawn()` was called, calling this function will collect the remaining
|
|
||||||
* output.
|
|
||||||
*
|
*
|
||||||
* Will throw an error if `stdin: "piped"` is set.
|
* Will throw an error if `stdin: "piped"` is set.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue