Safe Haskell | None |
---|---|
Language | Haskell2010 |
This modules contains support for external command execution.
Since: 0.5.65
Documentation
cmd :: CommandIO e => String -> Eff e () Source #
Execute the given shell command.
If isInteractive
is true, the standard-in will be passed to the external command,
and all output of the program will be directed to standard-out.
The command and the output is either logged to the logfile with traceL
or errorL
or
written to stdout.
If the command exists with non-zero exit code, the current process exists with the same exit code.
Since: 0.5.65