lambdabot-utils-4.2: Utility libraries for the advanced IRC bot, LambdabotSource codeContentsIndex
Lambdabot.Process
Description
A Posix.popen compatibility mapping.
Synopsis
popen :: FilePath -> [String] -> Maybe String -> IO (String, String, ExitCode)
run :: FilePath -> String -> (String -> String) -> IO String
Documentation
popenSource
:: FilePathThe binary to execute
-> [String]A list of arguments to pass to the binary. No need to space separate them
-> Maybe Stringstdin
-> IO (String, String, ExitCode)
popen lets you run a binary with specified arguments. This bypasses the shell.
run :: FilePath -> String -> (String -> String) -> IO StringSource
Produced by Haddock version 2.4.2