{-# LANGUAGE TypeFamilies #-} {-# OPTIONS_GHC -fno-warn-missing-signatures #-} module System.Process.Text.Lazy ( readProcess , readProcessWithExitCode , readCreateProcess , readCreateProcessWithExitCode ) where import Data.Text.Lazy (Text) import System.Exit (ExitCode) import System.Process (CreateProcess) import qualified System.Process.Read as R readProcess :: (a ~ Text) => FilePath -> [String] -> a -> IO a readProcess = R.readProcess readProcessWithExitCode :: (a ~ Text) => FilePath -> [String] -> a -> IO (ExitCode, a, a) readProcessWithExitCode = R.readProcessWithExitCode readCreateProcess :: (a ~ Text) => CreateProcess -> a -> IO a readCreateProcess = R.readCreateProcess readCreateProcessWithExitCode :: (a ~ Text) => CreateProcess -> a -> IO (ExitCode, a, a) readCreateProcessWithExitCode = R.readCreateProcessWithExitCode