process-progress-0.14: Run a process and do reportsing on its progress.

Safe HaskellNone

System.Process.Read.Compat

Description

Some functions brought over from my obsolete progress packages.

Synopsis

Documentation

echo :: CmdSpec -> IO () -> IO ()Source

Output a description of a command and then run it.

oneResult :: ListLikePlus a c => [Chunk a] -> ExitCodeSource

Extract the result code of an output stream, throw an error if there isn't exactly one of them.

timeTask :: IO a -> IO (a, NominalDiffTime)Source

Run a task and return the elapsed time along with its result.