Safe Haskell | None |
---|
Deprecated: Use command
or cmd
instead
Deprecated: Please use command or cmd instead. This module will be removed in a future version.
This module provides versions of the system'
family of functions
which take a variable number of arguments.
All these functions take a variable number of arguments.
-
String
arguments are treated as whitespace separated arguments. -
[String]
arguments are treated as literal arguments.
As an example, to run ghc --make -O2 inputs -o output
:
sys
"ghc --make -O2" inputs "-o" [output]
Note that we enclose output
as a list so that if the output name contains spaces they are
appropriately escaped.