touched-0.2.0.1: Library (and cli) to execute a procedure on file change.
System.Touched.Procedure
Synopsis
data Procedure a b Source
A process defined by three values: exec - the "process" type kill - takes a launched process and stops it fork - takes an exec and launches it into the background
exec
Constructors
Fields
Instances
type AsyncIO = Procedure (IO ()) ThreadId Source
A type synonym for a Haskell native process.
async :: IO () -> AsyncIO Source
A "smart constructor" for Haskell native processes
type AsyncCmd = Procedure CreateProcess CmdHandles Source
A type synonym for shell commands in the Process module
Process
cmd :: String -> AsyncCmd Source
A smart constructor for shell processes. Takes a string to launch in the shell and returns the process