A version of makeCmd' that resolves the path according to PATH and passes through stdin, stdout and stderr (unless overrided).
Moduleprocex-0.3.3Haskell2010
Procex.Process
This module wraps over the API in Procex.Core in a user-friendly way.
- 1 type
- 12 values
- Packageprocex-0.3.3
- Exports13
- LanguageHaskell2010
- LicenceMIT
- SourceProcess.hs
Thrown when the return code of a command isn't 0.
Constructors
Instances2Show, Exception
Show CmdExceptionDefined in procex-0.3.3 · Procex.ProcessException CmdExceptionDefined in procex-0.3.3 · Procex.Process
Runs a command synchronously. See also run'. CmdException will be thrown if the command fails.
pipeArgIn Pass an argument of the form /proc/self/fd/<n> to the process,
where n is the reader end of a pipe which the command
writes to through the specified fd.
pipeArgOut Pass an argument of the form /proc/self/fd/<n> to the process,
where n is the writer end of a pipe which the command
reads from through the specified fd.
Pipes from the handle to the fd.
Pipes from the fd to the handle.
pipeIn Pipes from the first command to the second command
pipeOut Pipes from the second command to the first command
Pass an argument of the form /proc/self/fd/<n> to the process,
where n is the reader end of a pipe where the writer end is passed
to a Haskell function.
Pass an argument of the form /proc/self/fd/<n> to the process,
where n is the writer end of a pipe where the reader end is passed
to a Haskell function.
Captures the outputs to the specified fds.
Wait on a process status and raise CmdException if it is a non-zero exit code.