Safe Haskell | None |
---|
Warning: I intend to remove this module. Please use 'command' or 'cmd' instead.
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.