aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Core.hs
diff options
context:
space:
mode:
authorDevin Mullins <me@twifkak.com>2008-09-28 01:46:39 +0200
committerDevin Mullins <me@twifkak.com>2008-09-28 01:46:39 +0200
commitf14f8df2eef4e2352e86a2d2a9175608e7f1e5ec (patch)
tree7d89cb1f988bf2cef53efb4e012addff030141ed /XMonad/Core.hs
parent627eb27dd5d72987de63b93c46ea6cbde9d5f502 (diff)
downloadxmonad-f14f8df2eef4e2352e86a2d2a9175608e7f1e5ec.tar.gz
xmonad-f14f8df2eef4e2352e86a2d2a9175608e7f1e5ec.tar.xz
xmonad-f14f8df2eef4e2352e86a2d2a9175608e7f1e5ec.zip
add'l documentation
darcs-hash:20080927234639-78224-1f1797ff1808ac3a82f694b87c2a7514ffac549e.gz
Diffstat (limited to '')
-rw-r--r--XMonad/Core.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/XMonad/Core.hs b/XMonad/Core.hs
index a6ee797..f31cd74 100644
--- a/XMonad/Core.hs
+++ b/XMonad/Core.hs
@@ -340,7 +340,8 @@ io = liftIO
catchIO :: MonadIO m => IO () -> m ()
catchIO f = io (f `catch` \e -> hPrint stderr e >> hFlush stderr)
--- | spawn. Launch an external application
+-- | spawn. Launch an external application. Specifically, it double-forks and
+-- runs the 'String' you pass as a command to /bin/sh.
spawn :: MonadIO m => String -> m ()
spawn x = doubleFork $ executeFile "/bin/sh" False ["-c", x] Nothing