| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Sys.CmdSpec
Documentation
Constructors
| ShellCommand String | A command line to execute using the shell |
| RawCommand FilePath [String] | The name of an executable with a list of arguments The
|
Instances
| Eq CmdSpec Source | |
| Ord CmdSpec Source | |
| Show CmdSpec Source | |
| IsString CmdSpec Source | |
| (Choice p, Applicative f) => AsRawCommand p f CmdSpec Source | |
| (Choice p, Applicative f) => AsShellCommand p f CmdSpec Source | |
| Applicative f => AsExecutableArguments (->) f CmdSpec Source | |
| Applicative f => AsExecutableName (->) f CmdSpec Source | |
| AsCmdSpec p f CmdSpec Source |
class AsExecutableName p f s where Source
Minimal complete definition
Nothing
Methods
_ExecutableName :: Optic' p f s FilePath Source
Instances
| Applicative f => AsExecutableName (->) f CmdSpec Source | |
| Applicative f => AsExecutableName (->) f CreateProcess Source | |
| AsExecutableName p f FilePath Source |
class AsExecutableArguments p f s where Source
Minimal complete definition
Nothing
Methods
_ExecutableArguments :: Optic' p f s [String] Source
Instances
| Applicative f => AsExecutableArguments (->) f CmdSpec Source | |
| Applicative f => AsExecutableArguments (->) f CreateProcess Source | |
| AsExecutableArguments p f [String] Source |
class AsShellCommand p f s where Source
Minimal complete definition
Nothing
Methods
_ShellCommand :: Optic' p f s String Source
Instances
| Applicative f => AsShellCommand (->) f CreateProcess Source | |
| (Choice p, Applicative f) => AsShellCommand p f CmdSpec Source | |
| AsShellCommand p f String Source |
class AsRawCommand p f s where Source
Minimal complete definition
Nothing
Methods
_RawCommand :: Optic' p f s (FilePath, [String]) Source
Instances
| Applicative f => AsRawCommand (->) f CreateProcess Source | |
| (Choice p, Applicative f) => AsRawCommand p f CmdSpec Source | |
| AsRawCommand p f (FilePath, [String]) Source |