stack-3.3.1: The Haskell Tool Stack
Safe HaskellNone
LanguageGHC2021

Stack.Exec

Description

Types and function related to Stack's exec, ghc, run, runghc and runhaskell commands.

Synopsis

Documentation

data ExecOpts Source #

Constructors

ExecOpts 

Instances

Instances details
Show ExecOpts Source # 
Instance details

Defined in Stack.Exec

Methods

showsPrec :: Int -> ExecOpts -> ShowS #

show :: ExecOpts -> String #

showList :: [ExecOpts] -> ShowS #

data SpecialExecCmd Source #

Instances

Instances details
Show SpecialExecCmd Source # 
Instance details

Defined in Stack.Exec

Methods

showsPrec :: Int -> SpecialExecCmd -> ShowS #

show :: SpecialExecCmd -> String #

showList :: [SpecialExecCmd] -> ShowS #

Eq SpecialExecCmd Source # 
Instance details

Defined in Stack.Exec

data ExecOptsExtra Source #

Constructors

ExecOptsExtra 

Instances

Instances details
Show ExecOptsExtra Source # 
Instance details

Defined in Stack.Exec

Methods

showsPrec :: Int -> ExecOptsExtra -> ShowS #

show :: ExecOptsExtra -> String #

showList :: [ExecOptsExtra] -> ShowS #

execCmd :: ExecOpts -> RIO Runner () Source #

The function underlying Stack's exec, ghc, run, runghc and runhaskell commands. Execute a command.