Support for running external tools. Written mainly for GHCi but with | support for others in mind.
Documentation
data ToolOutput Source
toolline :: ToolOutput -> StringSource
data ToolCommand Source
ToolCommand String ([ToolOutput] -> IO ()) |
runTool :: FilePath -> [String] -> Maybe FilePath -> IO ([ToolOutput], ProcessHandle)Source
runTool' :: FilePath -> [String] -> Maybe FilePath -> IO ([ToolOutput], ProcessHandle)Source
executeCommand :: ToolState -> String -> ([ToolOutput] -> IO ()) -> IO ()Source
executeGhciCommand :: ToolState -> String -> ([ToolOutput] -> IO ()) -> IO ()Source
escapeQuotes :: String -> StringSource