aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Util
diff options
context:
space:
mode:
authordaniel <daniel@wagner-home.com>2009-11-14 03:13:28 +0100
committerdaniel <daniel@wagner-home.com>2009-11-14 03:13:28 +0100
commit9a01f2b662dc29820c80ef65a54ae2d8afa2e7ff (patch)
tree1335e9e3ae065fcc3f843e875f26c5fff80f6392 /XMonad/Util
parent10a0cd4e7f614fb0e67a7e0e49483752c13b7642 (diff)
downloadXMonadContrib-9a01f2b662dc29820c80ef65a54ae2d8afa2e7ff.tar.gz
XMonadContrib-9a01f2b662dc29820c80ef65a54ae2d8afa2e7ff.tar.xz
XMonadContrib-9a01f2b662dc29820c80ef65a54ae2d8afa2e7ff.zip
fix documentation to match implementation
Ignore-this: 6dbbb118b139f443c40a573445a48d07 darcs-hash:20091114021328-c98ca-645fad0f6b8276a7682f9a4c852c1af7cb8a4e34.gz
Diffstat (limited to 'XMonad/Util')
-rw-r--r--XMonad/Util/Run.hs3
1 files changed, 1 insertions, 2 deletions
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