darcs patch: Move runXXX functions to one module

Fri Oct 12 16:52:33 CEST 2007 Christian Thiemann

This is the follow-up to a suggestion I made a week ago or so. I think it is conceptually better to collect the runXXX functions in a module for running processes instead of having them distributed over multiple modules doing specific things. The patch actually touches a lot of modules (and probably breaks some fancy user configs as they need to import Run instead of Dmenu/Dzen/RunInXTerm), so please don't apply without the consent of the module maintainers (who don't feel offended, hopefully). Cheers, Christian PS: runProcessWithInputAndWait looks like a copy'n'paste'n'extend version of runProcessWithInput - the latter of which might be expressed in terms of the former (with 0 as the delay). I'm going to provide a patch for that as well. Christian Thiemann wrote:
Fri Oct 12 16:52:33 CEST 2007 Christian Thiemann
* Move runXXX functions to one module This patch takes runProcessWithInput out of Dmenu, runProcessWithInputAndWait out of Dzen, and runInXTerm out of RunInXTerm and collects them in one central module called Run. This way, other modules may include Run instead of Dmenu to get what they want without giving the impression of making use of dmenu. ------------------------------------------------------------------------
_______________________________________________ Xmonad mailing list Xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad

On Friday 12 October 2007 09:59:31 Christian Thiemann wrote:
Fri Oct 12 16:52:33 CEST 2007 Christian Thiemann
* Move runXXX functions to one module This patch takes runProcessWithInput out of Dmenu, runProcessWithInputAndWait out of Dzen, and runInXTerm out of RunInXTerm and collects them in one central module called Run. This way, other modules may include Run instead of Dmenu to get what they want without giving the impression of making use of dmenu.
Applied.
participants (2)
-
Christian Thiemann
-
Spencer Janssen