leksah-server-0.8.0.6: Metadata collection for leksahSource codeContentsIndex
IDE.Utils.Tool
Description
Support for running external tools. Written mainly for GHCi but with | support for others in mind.
Documentation
data ToolOutput Source
Constructors
ToolInput String
ToolError String
ToolOutput String
ToolPrompt
ToolExit ExitCode
show/hide Instances
toolline :: ToolOutput -> StringSource
data ToolCommand Source
Constructors
ToolCommand String ([ToolOutput] -> IO ())
data ToolState Source
Constructors
ToolState
toolProcessMVar :: MVar ProcessHandle
outputClosed :: MVar Bool
toolCommands :: Chan ToolCommand
toolCommandsRead :: Chan ToolCommand
currentToolCommand :: MVar ToolCommand
toolProcess :: ToolState -> IO ProcessHandleSource
newToolState :: IO ToolStateSource
runTool :: FilePath -> [String] -> Maybe FilePath -> IO ([ToolOutput], ProcessHandle)Source
runTool' :: FilePath -> [String] -> Maybe FilePath -> IO ([ToolOutput], ProcessHandle)Source
runInteractiveTool :: ToolState -> CommandLineReader -> FilePath -> [String] -> IO ()Source
newGhci :: [String] -> [String] -> ([ToolOutput] -> IO ()) -> IO ToolStateSource
executeCommand :: ToolState -> String -> ([ToolOutput] -> IO ()) -> IO ()Source
executeGhciCommand :: ToolState -> String -> ([ToolOutput] -> IO ()) -> IO ()Source
quoteArg :: String -> StringSource
escapeQuotes :: String -> StringSource
Produced by Haddock version 2.6.1