riJ      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHI Safe-Inferred+HM (_cmdspec :: Lens' CreateProcess CmdSpec  &_ShellCommand :: Prism' CmdSpec String 1_RawCommand :: Prism' CmdSpec (FilePath,[String]) ,_cwd :: Lens' CreateProcess (Maybe FilePath) 5_env :: Lens' CreateProcess (Maybe [(String,String)])A lens for the (std_in,std_out,std_err) triplet. >streams :: Lens' CreateProcess (StdStream,StdStream,StdStream) A Lens for the return value of J that focuses on the handles. thandles :: Lens' (Maybe Handle, Maybe Handle, Maybe Handle,ProcessHandle) (Maybe Handle, Maybe Handle, Maybe Handle) A Prism@ that matches when none of the standard streams have been piped. Anohandles :: Prism' (Maybe Handle, Maybe Handle, Maybe Handle) () A Prism that matches when only stdin has been piped. Fhandlesi :: Prism' (Maybe Handle, Maybe Handle, Maybe Handle) (Handle)A Prism that matches when all three stdin, stdout and stderr have been piped. Xhandlesioe :: Prism' (Maybe Handle, Maybe Handle, Maybe Handle) (Handle, Handle, Handle)A Prism that matches when only stdout and stderr have been piped. Ohandlesoe :: Prism' (Maybe Handle, Maybe Handle, Maybe Handle) (Handle, Handle)A Prism that matches when only stdout has been piped. Fhandleso :: Prism' (Maybe Handle, Maybe Handle, Maybe Handle) (Handle)A Prism that matches when only stderr has been piped. Fhandlese :: Prism' (Maybe Handle, Maybe Handle, Maybe Handle) (Handle)     None -:BHM&+An individual stage in a process pipeline. YA configuration parameter used in functions that combine lines from multiple streams.See the section Non-lens decoding functions in the documentation for the  pipes-text package. A f represents a computation that completely drains a producer, but may fail early with an error of type e. K creates a ( that does nothing besides draining the L. M* executes its arguments concurrently. The LG is forked so that each argument receives its own copy of the data.A I determines what standard streams will be piped and what to do with them.*The user doesn't need to manually set the N, O and P fields of the Q record to R, this is done automatically. A  is parametrized by the type e8 of errors that can abort the processing of the streams. bExecutes an external process. The standard streams are piped and consumed in a way defined by the  argument. This function re-throws any Ss it encounters.6If the consumption of the standard streams fails with e3, the whole computation is immediately aborted and e; is returned. (An exception is not thrown in this case.).  If an error e= or an exception happens, the external process is terminated.!!Do not pipe any standard stream. "Pipe stdout.#Pipe stderr.$Pipe stdout and stderr.%Pipe stdout and stderr and consume them combined as T. &Pipe stdin.'Pipe stdin and stdout.(Pipe stdin and stderr.)Pipe stdin, stdout and stderr.*Pipe stdin, stdout and stderr%, consuming the last two combined as T.1 Builds a 4 out of a computation that does something with a L%, but may fail with an error of type e.>Even if the original computation doesn't completely drain the L, the constructed  will.2 Builds a $ out of a computation that drains a L0 completely, but may fail with an error of type e.3Useful in combination with  from  pipes-text and U from pipes-bytestring5, when the user wants to collect all the output. 4 Builds a # out of a computation that folds a L and drains it completely.6 Builds a  out of a pure fold from the foldl package.7 Builds a  out of a monadic fold from the foldl' package that works in the IO monad.8 Builds a  out of a monadic fold from the foldl package.=Turn a V from  pipes-parse into a Sihpon.>Turn a V from  pipes-parse into a Sihpon.? Constructs a / that aborts the computation if the underlying L produces anything.@ Constructs a ' that works on encoded values out of a  that works on decoded values. 6The two first arguments are a decoding function and a / that determines how to handle leftovers. Pass pure id to ignore leftovers. Pass  unwanted id. to abort the computation if leftovers remain.A[Specifies a transformation that will be applied to each line of text, represented as a L.9Line prefixes are easy to add using applicative notation: (\x -> yield "prefix: " *> x)BQSpecifies a prefix that will be calculated and appeded for each line of text.C Constructs a  out of a  and a = that specifies how to handle decoding failures. Passing pure () as the $ will ignore any leftovers. Passing  unwanted ()4 will abort the computation if leftovers remain.E Similar to  i, but instead of a single process it executes a (possibly branching) pipeline of external processes. The B argument views the pipeline as a synthetic process for which stdin is the stdin of the first stage, stdout is the stdoutH of the leftmost terminal stage among those closer to the root, and stderr is a combination of the stderr streams of all the stages. The combined stderr" stream always has UTF-8 encoding.This function has a limitation compared to the standard UNIX pipelines. If a downstream process terminates early without error, the upstream processes are not notified and keep going. There is no SIGPIPE-like functionality, in other words. F Builds a  out of a " that specifies how to handle stderr7 when piped, a function that determines whether an Wb represents an error (some programs return non-standard exit codes) and a process definition. GZApplies a transformation to the stream of bytes flowing into a stage from previous stages.*This function is ignored for first stages.H Converts any X to the left side of an Y. Z[ maps over the encoding error. \] builds a  for a sum out of the s for the branches.^_ builds a  for a composite out of the s for the parts.`a carn turn a  for bytes into a  for text.jbcdefghijklmnopqrstuvw xyz{!"#$%&'()*|}+,-./0~123456789:;<=>?@ABCDEFGHIZ\^`_JPONQR !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHI8 !"#$%&'()*+,-./0123456789:;<=>?@CABDEFHGIRbcdefghijklnmowvutsrqp xyz{!"#$%&'()*|}+,-./0~123456789:;<=>?@ABCDEFGHIZ\^`None -:BHM       !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVQRWNXYNXZNX[NX\NX]Q^_`abcdefgQ^hQ^iQjklQmnopqrspqtupvwxxyz{|}~NONONONONONONONONONONONONONONONONONONONXNXNXNXNXNXNXNX\NXNXNXNXNXNXprocess-streaming-0.6.6.0System.Process.LensSystem.Process.Streaming Pipes.TexttoLazyM!System.Process.Streaming.Tutorial_cmdspec _ShellCommand _RawCommand_cwd_envstreams _close_fds _create_group_delegate_ctlchandles nohandleshandlesi handlesio handlesie handlesioe handlesoehandlesohandlese LinePolicy PipingPolicyStageLinesDecodingFunctionSiphonOp getSiphonOpSiphonPumprunPumpPipingexecuteexecuteFalliblynopipingpipeopipeepipeoepipeoecpipeipipeiopipeiepipeioepipeioec fromProducer fromProducerMfromSafeProducerfromFallibleProducer fromFoldablefromEnumerablesiphonsiphon'fromFold fromFold' fromFold'_ fromFoldl fromFoldlIO fromFoldlM fromConsumer fromConsumerMfromSafeConsumerfromFallibleConsumer fromParser fromParserMunwantedencoded tweakLines prefixLinestoLinesexecutePipelineexecutePipelineFalliblystageinboundpipefail linePolicyprocess-1.2.0.0System.Process createProcessbaseControl.Applicativepure pipes-4.1.4 Pipes.CoreProducer<*>System.Process.Internalsstd_instd_outstd_err CreateProcess CreatePipeGHC.IO.Exception IOException text-1.2.0.4Data.Text.InternalTextpipes-bytestring-2.1.1Pipes.ByteStringpipes-parse-3.0.2 Pipes.ParseParserExitCode ExitFailure Data.EitherEither$fFunctorLinesGHC.Basefmap$fDecidableSiphonOpcontravariant-1.2.0.1$Data.Functor.Contravariant.Divisiblechoose$fDivisibleSiphonOpdivide$fContravariantSiphonOpData.Functor.Contravariant contramapCreatePipelineprocessDefinition' stderrLines'exitCodePolicy'inbound'teardown lineTweakerSiphon_ Nonexhaustive ExhaustivePPInputOutputError PPInputError PPInputOutputPPInput PPOutputErrorPPErrorPPOutputPPNoneexecuteInternalexitCodeterminateCarefullyterminateOnError separatedcombined nonexhaustive exhaustive runSiphon allowLefts allowRightserrorSiphonUTF8muteexecutePipelineInternalblende$fFunctorStage$fMonoidSiphon$fBifunctorSiphon$fBifunctorSiphon_$fApplicativeSiphon_ $fMonoidPump$fApplicativePump$fBifunctorPump$fBifunctorPiping rawSystemsystemrunInteractiveProcessrunInteractiveCommand runProcess runCommandinterruptProcessGroupOfterminateProcessgetProcessExitCodewaitForProcessshowCommandForUserreadProcessWithExitCode readProcess callCommand callProcess spawnCommand spawnProcessshellproc ProcessHandle delegate_ctlc create_group close_fdsenvcwdcmdspec ShellCommand RawCommandCmdSpecInherit UseHandle StdStream