Popularity
1.2
Declining
Activity
0.0
Stable
1
2
0

Monthly Downloads: 12
Programming language: Haskell
License: MIT License
Tags: Distribution    
Latest version: v0.0.4

executor alternatives and similar packages

Based on the "Distribution" category.
Alternatively, view executor alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of executor or a related project?

Add another 'Distribution' Package

README

executor

Haskell module to execute single or multiple shell commands

Build Status [MIT License][license-url]

API

exec

Execute a single shell command returning its output

import Executor (exec)

main = do
  -- execute a simple `ls` in the current folder
  res <- exec "echo hi"
  -- hi\n

execSequenceSync

Execute a list of shell commands in sequence synchronously returning their results in a list

import Executor (execSequenceSync)

main = do
  -- execute synchronously the following commands
  res <- execSequenceSync [
      "echo hi",
      "sleep 1",
      "echo goodbye"
    ]
  -- ["hi\n", "", "goodbye\n"]


*Note that all licence references and agreements mentioned in the executor README section above are relevant to that project's source code only.