yi-0.11.0: The Haskell-Scriptable Editor

Safe HaskellNone

Yi.Process

Synopsis

Documentation

runProgCommand :: String -> [String] -> IO (ExitCode, String, String)Source

runShellCommand :: String -> IO (ExitCode, String, String)Source

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

data SubprocessInfo Source

Constructors

SubprocessInfo 

Fields

procCmd :: FilePath
 
procArgs :: [String]
 
procHandle :: ProcessHandle
 
hIn :: Handle
 
hOut :: Handle
 
hErr :: Handle
 
bufRef :: BufferRef
 
separateStdErr :: Bool
 

type SubprocessId = IntegerSource