h&-')      !"#$%&'()*+,- . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~        ProcessError, Internal Safe-Inferred<!"$%&'(),./01245789:;<>?polysemy-processSignal error for .polysemy-processThe process terminated. Safe-Inferred<!"$%&'(),./01245789:;<>?Hpolysemy-processIndicate whether to kill a process after exiting the scope in which it was used, if it hasn't terminated.polysemy-process+Wait for the specified interval, then kill.polysemy-processKill immediately.polysemy-process/Wait indefinitely for the process to terminate. Safe-Inferred<!"$%&'(),./01245789:;<>?' polysemy-processControls the behaviour of  interpreters. polysemy-process6Whether to discard output chunks if the queue is full. polysemy-processMaximum number of chunks allowed to be queued for each of the three standard pipes.polysemy-processWhat to do if the process hasn't terminated when exiting the scope.     Safe-Inferred<!"$%&'(),./01245789:;<>?polysemy-process*Internal error used by an interpreter for .PtyResources ADT, Internal Safe-Inferred<!"$%&'(),./01245789:;<>?polysemy-process2The resources used by the default interpreter for .SystemProcessError, Internal Safe-Inferred<!"$%&'(),./01245789:;<>? polysemy-processSignal error for .polysemy-processThe process terminated.Process Effect, Internal Safe-Inferred<!"$%&'(),./01245789:;<>? !polysemy-process#Abstraction of a process with stdinstdoutstderr.6This effect is intended to be used in a scoped manner: import Polysemy.Resume import Polysemy.Conc import Polysemy.Process import qualified System.Process.Typed as System prog :: Member (Scoped resource (Process Text Text e !! err)) r => Sem r Text prog = resumeAs "failed" do withProcess do send "input" recv main :: IO () main = do out <- runConc $ interpretProcessNative (System.proc "cat" []) prog putStrLn out %polysemy-processObtain a chunk of stdout.&polysemy-processObtain a chunk of stderr.'polysemy-processSend data to stdin.(polysemy-processCreate a scoped resource for !.)polysemy-processConvert  and  to !. !$#"%&'() !$#"%&'()ProcessOutput effect, Internal. Safe-Inferred<!"$%&'(),./01245789:;<>?*polysemy-process"This effect is used by the effect $ to accumulate and decode chunks of s, for example using a parser. The interpreter may be stateful or stateless, since the constructor + is expected to be called with both the accumulated unprocessed output as well as the new chunk.+polysemy-processAdd a chunk of output to the accumulator, returning any number of successfully parsed values and the leftover output.+polysemy-process+The accumulation of the previous leftovers.polysemy-process$The new chunk read from the process.*+,*+, Pty Effect, Internal Safe-Inferred<!"$%&'(),./01245789:;<>?%-polysemy-process%A pseudo terminal, to be scoped with J..polysemy-processThe file descriptor that can be connected to stdio of a process./polysemy-processSet the size of the terminal.0polysemy-processGet the size of the terminal.1polysemy-process1Vertical size of a pseudo terminal in characters.4polysemy-process3Horizontal size of a pseudo terminal in characters.Jpolysemy-processBracket an action with the creation and destruction of a pseudo terminal.-/0.123456GHIJ456123-/0.IHGJ SystemProcess Effect, Internal Safe-Inferred<!"$%&'(),./01245789:;<>? Kpolysemy-processLow-level interface for a process, operating on raw chunks of bytes. Interface is modeled after System.Process.Lpolysemy-processRead a chunk from stdout.Mpolysemy-processRead a chunk from stderr.Npolysemy-processWrite a  to stdin.Opolysemy-processObtain the process ID.Ppolysemy-processSend a  to the process.Qpolysemy-process;Wait for the process to terminate, returning its exit code.Xpolysemy-processCreate a scoped resource for K.Ypolysemy-process"Send signal INT(2) to the process.Zpolysemy-process#Send signal INT(15) to the process.[polysemy-process"Send signal INT(9) to the process.KNMLOQPRSTUVWXYZ[KNMLOQPWVUTSRXYZ[ Executable helpers, Internal Safe-Inferred<!"$%&'(),./01245789:;<>?_]polysemy-processFind a file in $PATH2, verifying that it is executable by this process.]polysemy-processExecutable name, for $PATH lookup and error messagespolysemy-process8Explicit override to be checked for adequate permissions\]\] $ProcessOutput Interpreters, Internal Safe-Inferred<!"$%&'(),./01245789:;<>?{^polysemy-process Interpret * by immediately emitting raw s without accumulation.`polysemy-process Interpret * by emitting individual  lines of output.apolysemy-process Interpret * by immediately emitting  without accumulation.bpolysemy-process Interpret * by emitting individual  lines of output.^_`ab^_`ab Process Interpreters, Internal Safe-Inferred<!"$%&'(),./01245789:;<>?{{polysemy-process Interpret ! with a system process resource whose file descriptors are connected to three s, deferring decoding of stdout and stderr to the interpreters of two * effects.|polysemy-process Interpret ! with a system process resource whose file descriptors are connected to three s, producing s.}polysemy-process Interpret ! with a system process resource whose file descriptors are connected to three !s, producing chunks of lines of s.~polysemy-process Interpret ! with a system process resource whose file descriptors are connected to three s, producing s.polysemy-process Interpret ! with a system process resource whose file descriptors are connected to three !s, producing chunks of lines of s.cdehgfijklmnopqrstuvwxyz{|}~opqlmnijkdehgfrstuvwxycz{|}~Pty Interpreters, Internal Safe-Inferred<!"$%&'(),./01245789:;<>?polysemy-processInterpret Pty as a .$SystemProcess Interpreters, Internal Safe-Inferred<!"$%&'(),./01245789:;<>?"polysemy-process Interpret K with a concrete  with connected pipes.polysemy-process Interpret K as a single global  that's started immediately.polysemy-process Interpret K as a scoped  that's started wherever < is called and terminated when the wrapped action finishes.polysemy-process Interpret K with a concrete  with connected pipes.polysemy-process Interpret K as a single global  that's started immediately.polysemy-process Interpret K as a scoped  that's started wherever < is called and terminated when the wrapped action finishes.(Process Interpreters for stdio, Internal Safe-Inferred<!"$%&'(),./01245789:;<>?&polysemy-process Interpret ! as a native $, producing unaccumulated chunks of .polysemy-process Interpret ! as a native , producing lines of .polysemy-process Interpret ! as a native $, producing unaccumulated chunks of .polysemy-process Interpret ! as a native , producing lines of .polysemy-process6Whether to discard output chunks if the queue is full.polysemy-process+Basic config. The pipes will be changed to  by the interpreter.polysemy-process+Basic config. The pipes will be changed to  by the interpreter.polysemy-process+Basic config. The pipes will be changed to  by the interpreter.%Polysemy Effects for System Processes Safe-Inferred<!"$%&'(),./01245789:;<>?'( !"#$%&'(*-JKX]^`ab{|}~(!"#$%&'( *KX-J{|}~^`ab] Safe-Inferred<!"$%&'(),./01245789:;<>?(k*+,^`ab*+,^`ab Safe-Inferred<!"$%&'(),./01245789:;<>?( -/.0GHIJ -/.0GHIJ Safe-Inferred<!"$%&'(),./01245789:;<>?)KNMLOPQRSTUVWXYKNMLOPQRSTUVWXY !"#$%&''()*+,-../01123456789:;<=>?@ABCD   E F G G H I I J K L M N O P Q R S T U V W X Y Z [ \ ] ^  _ ` a b c d e f g h i j  k l m n o p q r s t u v v w x y z z { | | } ~ ~                     ^@c/polysemy-process-0.8.0.1-27qTuWE1EKbDorBVqubwms"Polysemy.Process.Data.ProcessError!Polysemy.Process.Data.ProcessKill$Polysemy.Process.Data.ProcessOptionsPolysemy.Process.Data.PtyError"Polysemy.Process.Data.PtyResources(Polysemy.Process.Data.SystemProcessErrorPolysemy.Process.Effect.Process%Polysemy.Process.Effect.ProcessOutputPolysemy.Process.Effect.Pty%Polysemy.Process.Effect.SystemProcessPolysemy.Process.Executable*Polysemy.Process.Interpreter.ProcessOutput$Polysemy.Process.Interpreter.Process Polysemy.Process.Interpreter.Pty*Polysemy.Process.Interpreter.SystemProcess)Polysemy.Process.Interpreter.ProcessStdioPolysemy.ProcessProcessPty SystemProcess System.PosixSystemwithSystemProcess System.IOHandlePolysemy.Process.ProcessOutputPolysemy.Process.PtyPolysemy.Process.SystemProcess ProcessError Terminated$fEqProcessError$fShowProcessError ProcessKill KillAfterKillImmediately KillNever$fEqProcessKill$fShowProcessKillProcessOptions$sel:discard:ProcessOptions$sel:qsize:ProcessOptions$sel:kill:ProcessOptions$fDefaultProcessOptions$fEqProcessOptions$fShowProcessOptionsPtyError $fEqPtyError$fShowPtyError PtyResources$sel:primary:PtyResources$sel:secondary:PtyResources$sel:handle:PtyResources$sel:pty:PtyResourcesSystemProcessErrorNoPipes$fEqSystemProcessError$fShowSystemProcessErrorRecv RecvErrorSendrecv recvErrorsend withProcess runProcessIO ProcessOutputChunkchunkResizeSizeCols$sel:unCols:ColsRows$sel:unRows:Rows$fEqCols $fShowCols $fGenericCols $fNumCols $fRealCols $fEnumCols$fIntegralCols $fOrdCols$fEqRows $fShowRows $fGenericRows $fNumRows $fRealRows $fEnumRows$fIntegralRows $fOrdRowshandleresizesizewithPty ReadStdout ReadStderr WriteStdinPidSignalWait readStdout readStderr writeStdinpidsignalwait interrupttermkillcheckExecutableresolveExecutableinterpretProcessOutputId splitLinesinterpretProcessOutputLinesinterpretProcessOutputTextinterpretProcessOutputTextLines ScopeEffects ProcessQueues$sel:pqIn:ProcessQueues$sel:pqOut:ProcessQueues$sel:pqErr:ProcessQueuesErr$sel:unErr:ErrOut$sel:unOut:OutIn $sel:unIn:IninterpretQueueshandleProcessWithQueueswithSTMResources withQueues outputQueue inputQueue handleKillwithKillscopeinterpretProcessinterpretProcessByteStringinterpretProcessByteStringLinesinterpretProcessTextinterpretProcessTextLines$fEqErr $fShowErr$fEqOut $fShowOut$fEqIn$fShowIntryStop acquirePty releasePty interpretPty PipesProcessprocessWithPipesstart startOpaquewithProcessOpaque terminate processId!interpretSystemProcessWithProcess"interpretSystemProcessNativeSingleinterpretSystemProcessNative'interpretSystemProcessWithProcessOpaque(interpretSystemProcessNativeOpaqueSingle"interpretSystemProcessNativeOpaque interpretProcessByteStringNative%interpretProcessByteStringLinesNativeinterpretProcessTextNativeinterpretProcessTextLinesNative'polysemy-1.6.0.0-9wGEWj51JFJ6HOhK1kIVP1Polysemy.OutputOutputPolysemy.InputInputbytestring-0.10.12.1Data.ByteString.Internal ByteString unix-2.7.2.2System.Posix.Signals text-1.2.5.0Data.Text.InternalText(stm-chans-3.0.0.6-IkvKahCCN2PGmUmoXdymwYControl.Concurrent.STM.TBMQueueTBMQueue