Skip to content
Effect 4.0 is here. One ecosystem. Zero dependencies.

DenoChildProcessSpawner unstable

Deno implementation of the child process spawner service.

This module uses Deno.Command and Web Streams directly. Deno cannot create detached process groups, so killing a handle terminates only its direct child; descendants spawned by that child are left running.

3 exports Since v4.0.0 Source

Layers

layer

unstable
Since v4.0.0

Layer that provides the Deno child process spawner.

Signature

declare const layer: Layer.Layer<ChildProcessSpawner, never, Path.Path>

Models

FlattenedPipeline

interface unstable
Since v4.0.0

Result of flattening a pipeline of commands.

Signature

interface FlattenedPipeline {
readonly commands: readonly [StandardCommand, StandardCommand];
readonly pipeOptions: readonly Array<PipeOptions>;
}

Transforming

Since v4.0.0

Flattens a command into standard commands and their pipe options.

Signature

declare function flattenCommand(command: Command): FlattenedPipeline