shrun-0.9: A utility program for running shell commands concurrently.
Safe HaskellNone
LanguageGHC2021

Shrun.IO

Description

Provides the low-level IO functions for running shell commands.

Synopsis

Stdout/stderr newtypes

newtype Stderr Source #

Newtype wrapper for stderr.

Constructors

MkStderr (List UnlinedText) 

Instances

Instances details
Show Stderr Source # 
Instance details

Defined in Shrun.IO.Types

Eq Stderr Source # 
Instance details

Defined in Shrun.IO.Types

Methods

(==) :: Stderr -> Stderr -> Bool #

(/=) :: Stderr -> Stderr -> Bool #

Running commands

tryCommandLogging Source #

Runs the command, returning the time elapsed along with a possible error.