Skip to content
Effect Days 2026 Get your ticket

DenoChildProcessSpawner

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 Added in v4.0.0 Source

Layers

layer

Added in v4.0.0 Source

Layer that provides the Deno child process spawner.

Signature

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

Models

FlattenedPipeline interface

Added in v4.0.0 Source

Result of flattening a pipeline of commands.

Signature

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

Transforming

Flattens a command into standard commands and their pipe options.

Signature

declare function flattenCommand(command: Command): FlattenedPipeline