mirror of
https://github.com/denoland/deno.git
synced 2024-12-25 08:39:09 -05:00
docs: category should be 'Subprocess', not 'Sub Process' (#24852)
This commit is contained in:
parent
0da81205d5
commit
e24aa6bbec
2 changed files with 12 additions and 12 deletions
20
cli/tsc/dts/lib.deno.ns.d.ts
vendored
20
cli/tsc/dts/lib.deno.ns.d.ts
vendored
|
@ -4236,7 +4236,7 @@ declare namespace Deno {
|
|||
* {@link https://docs.deno.com/runtime/manual/advanced/migrate_deprecations | Deno 1.x to 2.x Migration Guide}
|
||||
* for migration instructions.
|
||||
*
|
||||
* @category Sub Process */
|
||||
* @category Subprocess */
|
||||
export interface RunOptions {
|
||||
/** Arguments to pass.
|
||||
*
|
||||
|
@ -4303,7 +4303,7 @@ declare namespace Deno {
|
|||
* {@link https://docs.deno.com/runtime/manual/advanced/migrate_deprecations | Deno 1.x to 2.x Migration Guide}
|
||||
* for migration instructions.
|
||||
*
|
||||
* @category Sub Process */
|
||||
* @category Subprocess */
|
||||
export type ProcessStatus =
|
||||
| {
|
||||
success: true;
|
||||
|
@ -4324,7 +4324,7 @@ declare namespace Deno {
|
|||
* {@link https://docs.deno.com/runtime/manual/advanced/migrate_deprecations | Deno 1.x to 2.x Migration Guide}
|
||||
* for migration instructions.
|
||||
*
|
||||
* @category Sub Process */
|
||||
* @category Subprocess */
|
||||
export class Process<T extends RunOptions = RunOptions> {
|
||||
/** The resource ID of the sub-process. */
|
||||
readonly rid: number;
|
||||
|
@ -4530,7 +4530,7 @@ declare namespace Deno {
|
|||
* for migration instructions.
|
||||
*
|
||||
* @tags allow-run
|
||||
* @category Sub Process
|
||||
* @category Subprocess
|
||||
*/
|
||||
export function run<T extends RunOptions = RunOptions>(opt: T): Process<T>;
|
||||
|
||||
|
@ -4599,7 +4599,7 @@ declare namespace Deno {
|
|||
* ```
|
||||
*
|
||||
* @tags allow-run
|
||||
* @category Sub Process
|
||||
* @category Subprocess
|
||||
*/
|
||||
export class Command {
|
||||
constructor(command: string | URL, options?: CommandOptions);
|
||||
|
@ -4633,7 +4633,7 @@ declare namespace Deno {
|
|||
* The interface for handling a child process returned from
|
||||
* {@linkcode Deno.Command.spawn}.
|
||||
*
|
||||
* @category Sub Process
|
||||
* @category Subprocess
|
||||
*/
|
||||
export class ChildProcess implements AsyncDisposable {
|
||||
get stdin(): WritableStream<Uint8Array>;
|
||||
|
@ -4667,7 +4667,7 @@ declare namespace Deno {
|
|||
/**
|
||||
* Options which can be set when calling {@linkcode Deno.Command}.
|
||||
*
|
||||
* @category Sub Process
|
||||
* @category Subprocess
|
||||
*/
|
||||
export interface CommandOptions {
|
||||
/** Arguments to pass to the process. */
|
||||
|
@ -4729,7 +4729,7 @@ declare namespace Deno {
|
|||
}
|
||||
|
||||
/**
|
||||
* @category Sub Process
|
||||
* @category Subprocess
|
||||
*/
|
||||
export interface CommandStatus {
|
||||
/** If the child process exits with a 0 status code, `success` will be set
|
||||
|
@ -4746,7 +4746,7 @@ declare namespace Deno {
|
|||
* {@linkcode Deno.Command.outputSync} which represents the result of spawning the
|
||||
* child process.
|
||||
*
|
||||
* @category Sub Process
|
||||
* @category Subprocess
|
||||
*/
|
||||
export interface CommandOutput extends CommandStatus {
|
||||
/** The buffered output from the child process' `stdout`. */
|
||||
|
@ -5822,7 +5822,7 @@ declare namespace Deno {
|
|||
* Requires `allow-run` permission.
|
||||
*
|
||||
* @tags allow-run
|
||||
* @category Sub Process
|
||||
* @category Subprocess
|
||||
*/
|
||||
export function kill(pid: number, signo?: Signal): void;
|
||||
|
||||
|
|
4
cli/tsc/dts/lib.deno.unstable.d.ts
vendored
4
cli/tsc/dts/lib.deno.unstable.d.ts
vendored
|
@ -856,7 +856,7 @@ declare namespace Deno {
|
|||
*
|
||||
* These are unstable options which can be used with {@linkcode Deno.run}.
|
||||
*
|
||||
* @category Sub Process
|
||||
* @category Subprocess
|
||||
* @experimental
|
||||
*/
|
||||
export interface UnstableRunOptions extends RunOptions {
|
||||
|
@ -919,7 +919,7 @@ declare namespace Deno {
|
|||
* Requires `allow-run` permission.
|
||||
*
|
||||
* @tags allow-run
|
||||
* @category Sub Process
|
||||
* @category Subprocess
|
||||
* @experimental
|
||||
*/
|
||||
export function run<T extends UnstableRunOptions = UnstableRunOptions>(
|
||||
|
|
Loading…
Reference in a new issue