mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -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}
|
* {@link https://docs.deno.com/runtime/manual/advanced/migrate_deprecations | Deno 1.x to 2.x Migration Guide}
|
||||||
* for migration instructions.
|
* for migration instructions.
|
||||||
*
|
*
|
||||||
* @category Sub Process */
|
* @category Subprocess */
|
||||||
export interface RunOptions {
|
export interface RunOptions {
|
||||||
/** Arguments to pass.
|
/** 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}
|
* {@link https://docs.deno.com/runtime/manual/advanced/migrate_deprecations | Deno 1.x to 2.x Migration Guide}
|
||||||
* for migration instructions.
|
* for migration instructions.
|
||||||
*
|
*
|
||||||
* @category Sub Process */
|
* @category Subprocess */
|
||||||
export type ProcessStatus =
|
export type ProcessStatus =
|
||||||
| {
|
| {
|
||||||
success: true;
|
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}
|
* {@link https://docs.deno.com/runtime/manual/advanced/migrate_deprecations | Deno 1.x to 2.x Migration Guide}
|
||||||
* for migration instructions.
|
* for migration instructions.
|
||||||
*
|
*
|
||||||
* @category Sub Process */
|
* @category Subprocess */
|
||||||
export class Process<T extends RunOptions = RunOptions> {
|
export class Process<T extends RunOptions = RunOptions> {
|
||||||
/** The resource ID of the sub-process. */
|
/** The resource ID of the sub-process. */
|
||||||
readonly rid: number;
|
readonly rid: number;
|
||||||
|
@ -4530,7 +4530,7 @@ declare namespace Deno {
|
||||||
* for migration instructions.
|
* for migration instructions.
|
||||||
*
|
*
|
||||||
* @tags allow-run
|
* @tags allow-run
|
||||||
* @category Sub Process
|
* @category Subprocess
|
||||||
*/
|
*/
|
||||||
export function run<T extends RunOptions = RunOptions>(opt: T): Process<T>;
|
export function run<T extends RunOptions = RunOptions>(opt: T): Process<T>;
|
||||||
|
|
||||||
|
@ -4599,7 +4599,7 @@ declare namespace Deno {
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* @tags allow-run
|
* @tags allow-run
|
||||||
* @category Sub Process
|
* @category Subprocess
|
||||||
*/
|
*/
|
||||||
export class Command {
|
export class Command {
|
||||||
constructor(command: string | URL, options?: CommandOptions);
|
constructor(command: string | URL, options?: CommandOptions);
|
||||||
|
@ -4633,7 +4633,7 @@ declare namespace Deno {
|
||||||
* The interface for handling a child process returned from
|
* The interface for handling a child process returned from
|
||||||
* {@linkcode Deno.Command.spawn}.
|
* {@linkcode Deno.Command.spawn}.
|
||||||
*
|
*
|
||||||
* @category Sub Process
|
* @category Subprocess
|
||||||
*/
|
*/
|
||||||
export class ChildProcess implements AsyncDisposable {
|
export class ChildProcess implements AsyncDisposable {
|
||||||
get stdin(): WritableStream<Uint8Array>;
|
get stdin(): WritableStream<Uint8Array>;
|
||||||
|
@ -4667,7 +4667,7 @@ declare namespace Deno {
|
||||||
/**
|
/**
|
||||||
* Options which can be set when calling {@linkcode Deno.Command}.
|
* Options which can be set when calling {@linkcode Deno.Command}.
|
||||||
*
|
*
|
||||||
* @category Sub Process
|
* @category Subprocess
|
||||||
*/
|
*/
|
||||||
export interface CommandOptions {
|
export interface CommandOptions {
|
||||||
/** Arguments to pass to the process. */
|
/** Arguments to pass to the process. */
|
||||||
|
@ -4729,7 +4729,7 @@ declare namespace Deno {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @category Sub Process
|
* @category Subprocess
|
||||||
*/
|
*/
|
||||||
export interface CommandStatus {
|
export interface CommandStatus {
|
||||||
/** If the child process exits with a 0 status code, `success` will be set
|
/** 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
|
* {@linkcode Deno.Command.outputSync} which represents the result of spawning the
|
||||||
* child process.
|
* child process.
|
||||||
*
|
*
|
||||||
* @category Sub Process
|
* @category Subprocess
|
||||||
*/
|
*/
|
||||||
export interface CommandOutput extends CommandStatus {
|
export interface CommandOutput extends CommandStatus {
|
||||||
/** The buffered output from the child process' `stdout`. */
|
/** The buffered output from the child process' `stdout`. */
|
||||||
|
@ -5822,7 +5822,7 @@ declare namespace Deno {
|
||||||
* Requires `allow-run` permission.
|
* Requires `allow-run` permission.
|
||||||
*
|
*
|
||||||
* @tags allow-run
|
* @tags allow-run
|
||||||
* @category Sub Process
|
* @category Subprocess
|
||||||
*/
|
*/
|
||||||
export function kill(pid: number, signo?: Signal): void;
|
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}.
|
* These are unstable options which can be used with {@linkcode Deno.run}.
|
||||||
*
|
*
|
||||||
* @category Sub Process
|
* @category Subprocess
|
||||||
* @experimental
|
* @experimental
|
||||||
*/
|
*/
|
||||||
export interface UnstableRunOptions extends RunOptions {
|
export interface UnstableRunOptions extends RunOptions {
|
||||||
|
@ -919,7 +919,7 @@ declare namespace Deno {
|
||||||
* Requires `allow-run` permission.
|
* Requires `allow-run` permission.
|
||||||
*
|
*
|
||||||
* @tags allow-run
|
* @tags allow-run
|
||||||
* @category Sub Process
|
* @category Subprocess
|
||||||
* @experimental
|
* @experimental
|
||||||
*/
|
*/
|
||||||
export function run<T extends UnstableRunOptions = UnstableRunOptions>(
|
export function run<T extends UnstableRunOptions = UnstableRunOptions>(
|
||||||
|
|
Loading…
Reference in a new issue