HSHHelpers-0.24: Convenience functions that use HSH, instances for HSH.

Safe HaskellSafe-Infered




checkProcessStatus :: (String, ProcessStatus) -> IO (Either String ())Source

Evaluates result codes and raises an error for any bad ones it finds.

runCD :: FilePath -> String -> IO ()Source

runCD dir command | useful alternative to bracketCD where bracketCD has the wrong behavior due to lazy IO | note, not a drop in replacement to bracketCD because you specify an actual shell command, not arbitrary IO