From 9a01f2b662dc29820c80ef65a54ae2d8afa2e7ff Mon Sep 17 00:00:00 2001 From: daniel Date: Sat, 14 Nov 2009 03:13:28 +0100 Subject: fix documentation to match implementation Ignore-this: 6dbbb118b139f443c40a573445a48d07 darcs-hash:20091114021328-c98ca-645fad0f6b8276a7682f9a4c852c1af7cb8a4e34.gz --- XMonad/Util/Run.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'XMonad') diff --git a/XMonad/Util/Run.hs b/XMonad/Util/Run.hs index 9057747..2966053 100644 --- a/XMonad/Util/Run.hs +++ b/XMonad/Util/Run.hs @@ -51,8 +51,7 @@ import Control.Monad -- For an example usage of 'runProcessWithInputAndWait' see -- "XMonad.Util.Dzen" --- | Return output if the command succeeded, otherwise return @()@. --- This corresponds to dmenu's notion of exit code 1 for a canceled invocation. +-- | Returns the output. runProcessWithInput :: FilePath -> [String] -> String -> IO String runProcessWithInput cmd args input = do (pin, pout, perr, _) <- runInteractiveProcess cmd args Nothing Nothing -- cgit v1.2.3