runCommand -package:options -package:shake -package:wai-app-static -package:beam-migrate -package:xmonad-contrib -package:quickcheck-state-machine -package:structured-cli
Runs a command using the shell.
Run an external command on the specified DotRepr
. Remember to
on the Handle
for the output
function if necessary.
If the command was unsuccessful, then a GraphvizException
For performance reasons, a temporary file is used to store the
generated Dot code. As such, this is only suitable for local commands.
Run command against the database and return its result
Run a command within the PlotM monad. Stderr stream is read
and decoded, while Stdout is ignored. Logging happens at the debug
level if the command succeeds, or at the error level if it does not
runCommand1 foo = runCommand [foo =: 1]
Default to True
. Should you run command line actions, set to
to skip actions whose output streams and exit code are
not used. Useful for profiling the non-command portion of the build