Skip to main content
Subprocess - Deno documentation

Classes

c
Deno.ChildProcess

The interface for handling a child process returned fromDeno.Command.spawn.

c
Deno.Command

Create a child process.

c
Deno.Process

Represents an instance of a sub process that is returned fromDeno.run which can be used to manage the sub-process.

Functions

f
Deno.kill

Send a signal to process under given pid. The value and meaning of thesignal to the process is operating system and process dependant.Signal provides the most common signals. Default signalis "SIGTERM".

f
Deno.run

Spawns new subprocess. RunOptions must contain at a minimum the opt.cmd,an array of program arguments, the first of which is the binary.

Interfaces

I
Deno.CommandOptions

Options which can be set when calling Deno.Command.

I
Deno.CommandOutput

The interface returned from calling Deno.Command.output orDeno.Command.outputSync which represents the result of spawning thechild process.

I
Deno.CommandStatus
No documentation available
I
Deno.UnstableRunOptions

These are unstable options which can be used with Deno.run.

I
Deno.RunOptions

Options which can be used with Deno.run.

Type Aliases

T
Deno.ProcessStatus

The status resolved from the .status() method of aDeno.Process instance.