executor: Shell helpers

[ distribution, library, mit ] [ Propose Tags ]

Haskell module to execute single or multiple shell commands


[Skip to Readme]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.1, 0.0.2, 0.0.3, 0.0.4
Change log ChangeLog.md
Dependencies async (>=2.1 && <2.2), base (>=4.9 && <4.10), process (>=1.4 && <1.5) [details]
License MIT
Author Gianluca Guarini
Maintainer gianluca.guarini@gmail.com
Category Distribution
Home page https://github.com/GianlucaGuarini/executor
Source repo head: git clone https://github.com/GianlucaGuarini/executor
Uploaded by gianlucaguarini at 2017-08-20T21:59:03Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2850 total (11 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-08-20 [all 1 reports]

Readme for executor-0.0.3

[back to package description]

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"
    ]