HSHHelpers-0.23: Convenience functions that use HSH, instances for HSH.Source codeContentsIndex
HSH.Helpers.Instances
Synopsis
checkProcessStatus :: (String, ProcessStatus) -> IO (Either String ())
data CWDCommand = CWDCommand {
cwdDir :: String
cwdCmd :: String
}
runCD :: FilePath -> String -> IO ()
t :: IO ()
Documentation
checkProcessStatus :: (String, ProcessStatus) -> IO (Either String ())Source
Evaluates result codes and raises an error for any bad ones it finds.
data CWDCommand Source
Constructors
CWDCommand
cwdDir :: String
cwdCmd :: String
show/hide Instances
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
t :: IO ()Source
Produced by Haddock version 2.6.0