diff options
-rw-r--r-- | XMonad/Util/Run.hs | 3 |
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 |