diff options
author | Igor Zinkovsky <igor@deno.com> | 2024-06-04 12:19:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-04 12:19:42 -0700 |
commit | 32f655db540a1d1368162f820e17585911c04c27 (patch) | |
tree | b105f70b082205eb37d8eab06ce8a0068e2962d9 /cli/tsc | |
parent | 92c881faa73a64d0d3887ab93990bc48b4d6f786 (diff) |
fix(docs): update Deno.Command docs (#24097)
Diffstat (limited to 'cli/tsc')
-rw-r--r-- | cli/tsc/dts/lib.deno.ns.d.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts index cf8e4ba05..e89f01cdb 100644 --- a/cli/tsc/dts/lib.deno.ns.d.ts +++ b/cli/tsc/dts/lib.deno.ns.d.ts @@ -4540,6 +4540,9 @@ declare namespace Deno { * If `stdin` is set to `"piped"`, the `stdin` {@linkcode WritableStream} * 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 * * ```ts @@ -4601,8 +4604,6 @@ declare namespace Deno { /** * Executes the {@linkcode Deno.Command}, waiting for it to finish and * 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. * |