Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This module defines the code for actually executing a command with tracing enabled.
Synopsis
- data Subprocess
- commandToString :: Subprocess -> String
- commandToProcessConfig :: Subprocess -> ProcessConfig () () ()
- data ExecArgs = ExecArgs {}
- data SpanStatus'
- parseSpanStatus' :: ReadM SpanStatus'
- parseProc :: Parser (NonEmpty String)
- parseShell :: Parser String
- parseSubprocess :: Parser Subprocess
- parseAttribute :: String -> Either String (Text, Attribute)
- parseExecArgs :: Parser ExecArgs
- runExecArgs :: ExecArgs -> IO ()
Documentation
commandToString :: Subprocess -> String Source #
commandToProcessConfig :: Subprocess -> ProcessConfig () () () Source #
data SpanStatus' Source #
A variant of SpanStatus
that does not include a Text
for error.
parseAttribute :: String -> Either String (Text, Attribute) Source #
Parse a `key=value` string into an attribute.
runExecArgs :: ExecArgs -> IO () Source #