shrun
Safe HaskellNone
LanguageGHC2021

Shrun.IO

Description

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

Synopsis

Types

data CommandResult Source #

Result of running a command.

Instances

Instances details
Show CommandResult Source # 
Instance details

Defined in Shrun.IO

Eq CommandResult Source # 
Instance details

Defined in Shrun.IO

newtype Stderr Source #

Newtype wrapper for stderr.

Constructors

MkStderr 

Fields

Instances

Instances details
Show Stderr Source # 
Instance details

Defined in Shrun.IO

Eq Stderr Source # 
Instance details

Defined in Shrun.IO

Methods

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

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

Running commands

tryCommandLogging Source #

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

Misc