Safe Haskell | Safe-Infered |
---|
- sourceProcess :: ResourceIO m => CreateProcess -> Source m ByteString
- conduitProcess :: ResourceIO m => CreateProcess -> Conduit ByteString m ByteString
- sourceCmd :: ResourceIO m => String -> Source m ByteString
- conduitCmd :: ResourceIO m => String -> Conduit ByteString m ByteString
- shell :: String -> CreateProcess
- proc :: FilePath -> [String] -> CreateProcess
- data CreateProcess = CreateProcess {}
- data CmdSpec
- data StdStream
- = Inherit
- | UseHandle Handle
- | CreatePipe
- data ProcessHandle
run process
sourceProcess :: ResourceIO m => CreateProcess -> Source m ByteStringSource
conduitProcess :: ResourceIO m => CreateProcess -> Conduit ByteString m ByteStringSource
run command
sourceCmd :: ResourceIO m => String -> Source m ByteStringSource
conduitCmd :: ResourceIO m => String -> Conduit ByteString m ByteStringSource
Convenience re-exports
shell :: String -> CreateProcess
Construct a CreateProcess
record for passing to createProcess
,
representing a command to be passed to the shell.
proc :: FilePath -> [String] -> CreateProcess
Construct a CreateProcess
record for passing to createProcess
,
representing a raw command with arguments.
data CreateProcess
CreateProcess | |
|
data CmdSpec
ShellCommand String | a command line to execute using the shell |
RawCommand FilePath [String] | the filename of an executable with a list of arguments |
data StdStream
Inherit | Inherit Handle from parent |
UseHandle Handle | Use the supplied Handle |
CreatePipe | Create a new pipe. The returned
|
data ProcessHandle