-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Enhanced version of process-extras -- -- Extra functionality for the Process library -- http://hackage.haskell.org/package/process. @package process-listlike @version 0.6 -- | Versions of the functions in module Read specialized for type -- ByteString. module System.Process.Read.Chars -- | Class of types which can be used as the input and outputs of the -- process functions. class (Integral (LengthType a), ListLikeIO a c) => ListLikePlus a c where type family LengthType a binary :: ListLikePlus a c => a -> [Handle] -> IO () lazy :: ListLikePlus a c => a -> Bool length' :: ListLikePlus a c => a -> LengthType a -- | A polymorphic implementation of readProcessWithExitCode with a -- few generalizations: -- --
    --
  1. The input and outputs can be any instance of -- ListLikePlus.
  2. --
  3. Allows you to modify the CreateProcess record before the -- process starts
  4. --
  5. Takes a CmdSpec, so you can launch either a -- RawCommand or a ShellCommand.
  6. --
readCreateProcessWithExitCode :: ListLikePlus a c => CreateProcess -> a -> IO (ExitCode, a, a) -- | A polymorphic implementation of readProcess with a few -- generalizations: -- --
    --
  1. The input and outputs can be any instance of -- ListLikePlus.
  2. --
  3. Allows you to modify the CreateProcess record before the -- process starts
  4. --
  5. Takes a CmdSpec, so you can launch either a -- RawCommand or a ShellCommand.
  6. --
readCreateProcess :: ListLikePlus a c => CreateProcess -> a -> IO a -- | A polymorphic implementation of readProcessWithExitCode in -- terms of readCreateProcessWithExitCode. readProcessWithExitCode :: ListLikePlus a c => FilePath -> [String] -> a -> IO (ExitCode, a, a) -- | Implementation of readProcess in terms of -- readCreateProcess. readProcess :: ListLikePlus a c => FilePath -> [String] -> a -> IO a module System.Process.Read.Instances instance ListLikePlus Text Char instance ListLikePlus Text Char instance ListLikePlus ByteString Word8 instance ListLikePlus ByteString Word8 instance ListLikePlus String Char module System.Process.Read -- | Class of types which can be used as the input and outputs of the -- process functions. class (Integral (LengthType a), ListLikeIO a c) => ListLikePlus a c where type family LengthType a binary :: ListLikePlus a c => a -> [Handle] -> IO () lazy :: ListLikePlus a c => a -> Bool length' :: ListLikePlus a c => a -> LengthType a -- | A polymorphic implementation of readProcessWithExitCode with a -- few generalizations: -- --
    --
  1. The input and outputs can be any instance of -- ListLikePlus.
  2. --
  3. Allows you to modify the CreateProcess record before the -- process starts
  4. --
  5. Takes a CmdSpec, so you can launch either a -- RawCommand or a ShellCommand.
  6. --
readCreateProcessWithExitCode :: ListLikePlus a c => CreateProcess -> a -> IO (ExitCode, a, a) -- | A polymorphic implementation of readProcess with a few -- generalizations: -- --
    --
  1. The input and outputs can be any instance of -- ListLikePlus.
  2. --
  3. Allows you to modify the CreateProcess record before the -- process starts
  4. --
  5. Takes a CmdSpec, so you can launch either a -- RawCommand or a ShellCommand.
  6. --
readCreateProcess :: ListLikePlus a c => CreateProcess -> a -> IO a -- | A polymorphic implementation of readProcessWithExitCode in -- terms of readCreateProcessWithExitCode. readProcessWithExitCode :: ListLikePlus a c => FilePath -> [String] -> a -> IO (ExitCode, a, a) -- | Implementation of readProcess in terms of -- readCreateProcess. readProcess :: ListLikePlus a c => FilePath -> [String] -> a -> IO a module System.Process.ByteString readProcess :: a ~ ByteString => FilePath -> [String] -> a -> IO a readProcessWithExitCode :: a ~ ByteString => FilePath -> [String] -> a -> IO (ExitCode, a, a) readCreateProcess :: a ~ ByteString => CreateProcess -> a -> IO a readCreateProcessWithExitCode :: a ~ ByteString => CreateProcess -> a -> IO (ExitCode, a, a) module System.Process.ByteString.Lazy readProcess :: a ~ ByteString => FilePath -> [String] -> a -> IO a readProcessWithExitCode :: a ~ ByteString => FilePath -> [String] -> a -> IO (ExitCode, a, a) readCreateProcess :: a ~ ByteString => CreateProcess -> a -> IO a readCreateProcessWithExitCode :: a ~ ByteString => CreateProcess -> a -> IO (ExitCode, a, a) module System.Process.Text readProcess :: a ~ Text => FilePath -> [String] -> a -> IO a readProcessWithExitCode :: a ~ Text => FilePath -> [String] -> a -> IO (ExitCode, a, a) readCreateProcess :: a ~ Text => CreateProcess -> a -> IO a readCreateProcessWithExitCode :: a ~ Text => CreateProcess -> a -> IO (ExitCode, a, a) module System.Process.Text.Lazy readProcess :: a ~ Text => FilePath -> [String] -> a -> IO a readProcessWithExitCode :: a ~ Text => FilePath -> [String] -> a -> IO (ExitCode, a, a) readCreateProcess :: a ~ Text => CreateProcess -> a -> IO a readCreateProcessWithExitCode :: a ~ Text => CreateProcess -> a -> IO (ExitCode, a, a)