propellor-0.2.1: property-based host configuration management in haskell

Safe HaskellNone

Propellor.SimpleSh

Description

Simple server, using a named pipe. Client connects, sends a command, and gets back all the output from the command, in a stream.

This is useful for eg, docker.

Documentation

data Cmd Source

Constructors

Cmd String [String] 

Instances

simpleShClient :: FilePath -> String -> [String] -> ([Resp] -> IO a) -> IO aSource

simpleShClientRetry :: Int -> FilePath -> String -> [String] -> ([Resp] -> IO a) -> IO aSource