packages feed

mit-3qvpPyAi6mH-12: src/Mit/ProcessInfo.hs

module Mit.ProcessInfo
  ( ProcessInfo (..),
  )
where

import Mit.Prelude
import System.Exit (ExitCode)

-- | Information about a completed process.
data ProcessInfo = ProcessInfo
  { name :: !Text,
    args :: ![Text],
    output :: !(Seq Text),
    errput :: !(Seq Text),
    exitCode :: !ExitCode,
    seconds :: !Double
  }