Run.hs: fix documentation, cleanup whitespace

This commit is contained in:
"Valery V. Vorotyntsev"
2007-12-12 09:15:16 +00:00
parent fb9a8cfef8
commit dd80c23f56

View File

@@ -50,7 +50,7 @@ import Control.Monad
-- For an example usage of 'runProcessWithInputAndWait' see
-- "XMonad.Util.Dzen"
-- | Returns Just output if the command succeeded, and Nothing if it didn't.
-- | Return output if the command succeeded, otherwise return @()@.
-- This corresponds to dmenu's notion of exit code 1 for a cancelled invocation.
runProcessWithInput :: FilePath -> [String] -> String -> IO String
runProcessWithInput cmd args input = do