Safe Haskell | None |
---|---|
Language | Haskell2010 |
Yi.Process
- runProgCommand :: String -> [String] -> IO (ExitCode, String, String)
- runShellCommand :: String -> IO (ExitCode, String, String)
- shellFileName :: IO String
- createSubprocess :: FilePath -> [String] -> BufferRef -> IO SubprocessInfo
- readAvailable :: Handle -> IO String
- data SubprocessInfo = SubprocessInfo {
- procCmd :: FilePath
- procArgs :: [String]
- procHandle :: ProcessHandle
- hIn :: Handle
- hOut :: Handle
- hErr :: Handle
- bufRef :: BufferRef
- separateStdErr :: Bool
- type SubprocessId = Integer
Documentation
shellFileName :: IO String Source
Run a command using the system shell, returning stdout, stderr and exit code
createSubprocess :: FilePath -> [String] -> BufferRef -> IO SubprocessInfo Source
readAvailable :: Handle -> IO String Source
data SubprocessInfo Source
Constructors
SubprocessInfo | |
Fields
|
type SubprocessId = Integer Source