Test.Sandbox

Introduction

Features

History

Usage examples

Communication via TCP

Communication via standard I/O

data Sandbox a

data ProcessSettings

def

data Capture

Initialization

sandbox

withSandbox

Calling sandbox on IO

runSandbox

runSandbox'

Registering processes

register

Managing sandboxed processes

run

withProcess

start

startAll

stop

stopAll

signal

silently

Communication

interactWith

sendTo

readLastCapturedOutput

getHandles

getPort

Sandbox state management

getBinary

setPort

getFile

setFile

getDataDir

checkVariable

getVariable

setVariable

unsetVariable

withVariable

Sandbox exception handling

bracket

catchError

finally

throwError

Sandbox I/O handling

liftIO