conduit-extra-1.2.1: Batteries included conduit: adapters for common libraries.

Safe HaskellNone
LanguageHaskell98

Data.Conduit.Process.Typed

Contents

Description

The System.Process.Typed module from typed-process, but with added conduit helpers.

Synopsis

Conduit specific stuff

createSink :: MonadIO m => StreamSpec STInput (ConduitM ByteString o m ()) Source #

Provide input to a process by writing to a conduit.

Since: 1.2.1

createSource :: MonadIO m => StreamSpec STOutput (ConduitM i ByteString m ()) Source #

Read output from a process by read from a conduit.

Since: 1.2.1

Generalized functions

withProcess :: MonadUnliftIO m => ProcessConfig stdin stdout stderr -> (Process stdin stdout stderr -> m a) -> m a Source #

Same as withProcess, but generalized to MonadUnliftIO.

Since: 1.2.1

withProcess_ :: MonadUnliftIO m => ProcessConfig stdin stdout stderr -> (Process stdin stdout stderr -> m a) -> m a Source #

Same as withProcess_, but generalized to MonadUnliftIO.

Since: 1.2.1

Reexports