Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Executor
Documentation
execSync :: String -> IO () Source #
Execute a single shell command Not much different from callCommand though for example: main = do execSync "ls"
execListSync :: [String] -> IO () Source #
Execute a list of shell commands in sequence synchronously for example: main = do execListSync ["ls", "whoami"]