stack-1.6.3.1: The Haskell Tool Stack

Safe HaskellNone
LanguageHaskell2010

System.Process.Log

Description

Separate module because TH.

Synopsis

Documentation

logCreateProcess :: MonadLogger m => CreateProcess -> m () Source #

Log running a process with its arguments, for debugging (-v).

withProcessTimeLog :: (MonadIO m, MonadLogger m) => String -> [String] -> m a -> m a Source #

Log running a process with its arguments, for debugging (-v).

This logs one message before running the process and one message after.

showProcessArgDebug :: String -> Text Source #

Show a process arg including speechmarks when necessary. Just for debugging purposes, not functionally important.