@hackage executor0.0.3

Shell helpers

executor

Haskell module to execute single or multiple shell commands

Build Status MIT License

API

execSync

Execute a single shell command

import Executor (execSync)

main = do
  -- execute a simple `ls` in the current folder
  execSync "ls"

execListSync

Execute a list of shell commands in sequence synchronously

import Executor (execListSync)

main = do
  -- execute synchronously the following commands
  execListSync [
      "ls",
      "whoami",
      "echo hello"
    ]