runCommand -package:structured-cli -package:github-release -package:process -package:shake-plus is:exact -package:mongoDB -package:libmpd -package:pandoc-plot -package:cabal-install
Runs a command using the shell.
Run an external command on the specified
DotRepr. Remember to
use
hSetBinaryMode on the
Handle for the output
function if necessary.
If the command was unsuccessful, then a
GraphvizException is
thrown.
For performance reasons, a temporary file is used to store the
generated Dot code. As such, this is only suitable for local commands.
Retrieve
getArgs, and attempt to parse it into a valid value of
an
Options type plus a list of left-over arguments. The options
and arguments are then passed to the provided computation.
If parsing fails, this computation will print an error and call
exitFailure.
If parsing succeeds, and the user has passed a
--help flag,
and the developer is using the default help flag definitions, then
this computation will print documentation and call
exitSuccess.
See
runSubcommand for details on subcommand support.
Given a list of command/action pairs, prompt the user to choose a
command using dmenu and return the corresponding action.