Module

Dotenv.Internal.ChildProcess

Package
purescript-dotenv
Repository
nsaunders/purescript-dotenv

This module encapsulates the logic for running a child process.

#CHILD_PROCESS Source

type CHILD_PROCESS :: Row (Type -> Type) -> Row (Type -> Type)type CHILD_PROCESS r = (childProcess :: ChildProcessF | r)

The effect type used for a child process

#ChildProcessF Source

data ChildProcessF a

A data type representing the supported operations

Constructors

Instances

#_childProcess Source

_childProcess :: Proxy @Symbol "childProcess"

The effect label used for a child process

#handleChildProcess Source

handleChildProcess :: ChildProcessF ~> Aff

The default interpreter for handling a child process

#spawn Source

spawn :: forall r. String -> Array String -> Run (CHILD_PROCESS r) String

Constructs the value used to spawn a child process.