Safe Haskell | Safe-Infered |
---|
- popen :: FilePath -> [String] -> Maybe String -> IO (String, String, ExitCode)
- runProgCommand :: String -> [String] -> IO (String, String, ExitCode)
- runShellCommand :: String -> IO (String, String, ExitCode)
- shellFileName :: IO String
- createSubprocess :: FilePath -> [String] -> BufferRef -> IO SubprocessInfo
- readAvailable :: Handle -> IO String
- data SubprocessInfo = SubprocessInfo {}
- type SubprocessId = Integer
Documentation
popen :: FilePath -> [String] -> Maybe String -> IO (String, String, ExitCode)Source
A Posix.popen compatibility mapping. Based on PosixCompat, originally written by Derek Elkins for lambdabot TODO: this will probably be called readProcess in the new process package (2.0)
runProgCommand :: String -> [String] -> IO (String, String, ExitCode)Source
Run a command. This looks up a program name in $PATH, but then calls it directly with the argument.
shellFileName :: IO StringSource
Run a command using the system shell, returning stdout, stderr and exit code
createSubprocess :: FilePath -> [String] -> BufferRef -> IO SubprocessInfoSource
readAvailable :: Handle -> IO StringSource
type SubprocessId = IntegerSource