dyre-0.7.1: Dynamic reconfiguration in Haskell

Config.Dyre.Compat

Description

Compatibility code for things that need to be done differently on different systems.

Synopsis

Documentation

customExec :: FilePath -> Maybe [String] -> IO ()Source

Called whenever execution needs to be transferred over to a different binary.

getPIDString :: IO StringSource

What it says on the tin. Gets the current PID as a string. Used to determine the name for the state file during restarts.