aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Util/Run.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-06-22XMonad.Util.Run: improve definition so this can be used with emacsgwern01-4/+4
Ignore-this: 984788359376e3d2bab0d1e86ff1276f darcs-hash:20090622201401-f7719-ae5b727adccbdeab8313cf766b610417f053d42c.gz
2009-06-22XMonad.Util.Run: +convenience function for safeSpawn which drops args to the ↵gwern01-0/+7
prog Ignore-this: fc48265f252e015ffdc1792c6c9eaa12 darcs-hash:20090622193018-f7719-e9d8d69d38b45f944c2a3c090dd0c47d09887013.gz
2009-06-18Correct many typos in the documentation, consistent US spellinggAdam Vogt1-1/+1
Ignore-this: cf6dcf340fa6cc010f7879f188d376f5 darcs-hash:20090618003729-1499c-c927c08cda268b94b350f6419a64df8ca1e863d4.gz
2009-02-20U.Run: remove waitForProcess to close Issue 268wirtwolff1-4/+4
Ignore-this: a6780565fde40a4aac9023cc55fc2273 http://code.google.com/p/xmonad/issues/detail?id&8 Submitting with some trepidation, since I've nearly no understanding of process handling. Should be ok, no warnings by sjanssen when asking about it in hpaste or earlier email, and tested locally by spawning excessive numbers of dzens: did not leave zombies or raise exceptions. darcs-hash:20090220214153-d17f0-2915109755eb08968878dc751e19e62f141e37d8.gz
2009-01-22uninstallSignalHandlers in spawnPipeSpencer Janssen1-0/+1
Ignore-this: e8cfe0f18f278c95d492628da8326fd7 darcs-hash:20090122002745-25a6b-b42d9d8cb09c461d5e7669524a0c488213a4a1b3.gz
2009-01-22Create a new session for spawnPiped processesSpencer Janssen1-1/+2
Ignore-this: 37529c5fe8b4bf1b97fffb043bb3dfb0 darcs-hash:20090122000441-25a6b-becd6e77cacaeedd73bddc96b8059c89cbb97bca.gz
2009-01-16Update all uses of doubleFork/waitForProcessSpencer Janssen1-6/+7
Ignore-this: 4e15b7f3fd6af3b7317449608f5246b0 darcs-hash:20090116210315-25a6b-53190793833624e0c5e36ce353333092e5243883.gz
2008-05-15decent documentation for UrgencyHookDevin Mullins1-2/+1
Blame it on lack of sleep. Or perhaps the causation is the reverse. darcs-hash:20080515082222-78224-3ad2870a4f5e56481131bd4898f0d3154bb89694.gz
2008-03-28Util.Run, Hooks.DynamicLog: re-export hPutStrLn and hPutStr from Util.Run ↵Brent Yorgey1-1/+3
for convenience, and update DynamicLog documentation to show proper imports darcs-hash:20080328205446-bd4d7-ae6c9a13c69620ec5edef7d34086236974c0c631.gz
2008-03-16Run.hs: improve haddockgwern01-25/+26
This module too was causing horizontal scrolling because of the shell command. I managed to discover that you only need to specify 'png:' *or* "foo.png", not both, which trimmed off enough characters. Also, I improved the docs for my functions. darcs-hash:20080316223219-f7719-0accbb96dc6a14bbb5ba302a2dbae65c1a78fedd.gz
2008-03-03Util.Run: minor clarification in commentgwern01-1/+1
darcs-hash:20080303051513-f7719-6ebdf87e5a5889f480ad10e1f489dc7ce625ce46.gz
2008-02-05Run.hs: add an option to runintermsgwern01-5/+5
It turns out that for urxvt, and most terminal, apparently, once you give a '-e' option, that's it. They will not interpret anything after that as anything but input for /bin/sh, so if you wanted to go 'runInTerm "'screen -r session' -title IRC"', you were SOL - the -title would not be seen by urxvt. This, needless to say, is bad, since then you can't do stuff like set the title which means various hooks and extensions are helpless. This patch adds an extra options argument which is inserted *before* the -e. If you want the old behaivour, you can just go 'runInTerm "" "executable"', but now if you need to do something extra, 'runInTerm "-title mutt" "mutt"' works fine. This patch also updates callers. darcs-hash:20080205031824-f7719-ca5117c1b75f6667459273be2613bc29e8cbbacb.gz
2008-01-14Use doubleFork instead of manual double fork, or buggy single fork.nicolas.pouillard1-27/+15
This fixes showWName because Timer was leaking zombie processes. You should update xmonad, since doubleFork was not exported. darcs-hash:20080114202833-94725-04a4419a36181a6cc0d662b868fef3374d9b38c1.gz
2007-12-12Run.hs: fix documentation, cleanup whitespaceValery V. Vorotyntsev1-3/+3
darcs-hash:20071212091516-ae588-40ba4e8560f1132c6054b3b459c9fcbf9c7679e3.gz
2007-12-08Remove redundant importsSpencer Janssen1-1/+1
darcs-hash:20071207233827-a5988-9e41d51120499637f14d115f2cf1428edaf326bb.gz
2007-11-19Miscellaneous spell-checkingShachaf Ben-Kiki1-1/+1
darcs-hash:20071118230319-bffde-6c56202afece4ecc55d48d37bde3f80edaff66f7.gz
2007-11-16XMonad.Util.Run: meny haddock fixesAndrea Rossato1-28/+38
I've also trasnformed gwern's comments to use '--' instead of {- -}, for uniformity. darcs-hash:20071116120938-32816-c342a43b4bb3dc813ac8231838b607cd8f58b530.gz
2007-11-10typo fix in Util.RunDevin Mullins1-1/+1
darcs-hash:20071110211328-78224-d2f8f3c41f0df0710b1d6317d14cc9090735a6fd.gz
2007-11-09Generalize safe/unsafeSpawn to MonadIOSpencer Janssen1-3/+3
darcs-hash:20071109073810-a5988-634efa9c3c56f39ea64be1b29791bb61c54eb6bd.gz
2007-11-07Add spawnPipeSpencer Janssen1-2/+20
darcs-hash:20071107075009-a5988-a5a816a093890ddc9477ca7d6cb339061256d16d.gz
2007-11-06make Setup haddock work againLukas Mai1-1/+3
darcs-hash:20071106141829-462cf-c1daa2d74d17a314c7b1f68f9952e8502e44628f.gz
2007-11-01HierarchifySpencer Janssen1-8/+8
darcs-hash:20071101201059-a5988-fc1f1262bec1b69e13ba18ae7cefeafc8c4471d4.gz
2007-11-01-Wall police in Run.David Roundy1-1/+0
darcs-hash:20071101152028-72aca-11ad8fb75434d6e105168bf033f04f86033ed036.gz
2007-11-01More portingSpencer Janssen1-2/+2
darcs-hash:20071101073506-a5988-b8ee3ece4361dfc533589f5d4ca8c289c3dc77e7.gz
2007-11-01Remove Config import from RunSpencer Janssen1-6/+6
darcs-hash:20071101070408-a5988-7233c74d43ac56a382a8835f608b3435f2be344f.gz
2007-10-24Run.hs: documentation fixValery V. Vorotyntsev1-1/+1
darcs-hash:20071024144244-ae588-dddb472faa798c09d5173a34342a456b57766952.gz
2007-10-24Use new terminal config optionSpencer Janssen1-11/+6
darcs-hash:20071024110219-a5988-a8ca4fc9a920d04c71af52adbbe1f85d014f238e.gz
2007-10-24Run.hs: do my usual segregation into safe and unsafe runInTermsgwern01-2/+7
darcs-hash:20071024003911-f7719-210cd66ba2f61d9a9f608c423455150e0bcbd9bd.gz
2007-10-24Run.hs: specialize runInXTerm to use runInTerm per my mailing list suggestiongwern01-5/+2
darcs-hash:20071024001856-f7719-144e66b245d780988cea289fc96fcc542b41f461.gz
2007-10-24Run.hs: +my suggested runInTerm general functiongwern01-0/+7
darcs-hash:20071024001628-f7719-f20250b704f106adbf77f8a16dc1948781dc882c.gz
2007-10-24Run.hs, SshPrompt.hs, ShellPrompt.hs: mv runInXTerm back into Run.hs per ↵gwern01-0/+7
suggestions darcs-hash:20071024001341-f7719-6ea9cf7134f0300c53e85cddfff1e320039c115b.gz
2007-10-19Run.hs: +2 functions, safeSpawn & unsafeSpawngwern01-0/+21
See their documentation. This is part of a re-organization of various 'run' commands; this two make it easier to go through the shell or not, and will be re-used elsewhere. darcs-hash:20071019181009-f7719-4f4073639389f335080d552c4788667fd109b6f3.gz
2007-10-19Run.hs: fmtgwern01-11/+9
darcs-hash:20071019180953-f7719-0e7101b3e3a3378d43807d080aae8de74ffb3802.gz
2007-10-19Run.hs, ShellPrompt.sh: mv runInXTerm to ShellPrompt.hsgwern01-9/+4
darcs-hash:20071019180900-f7719-6d6ef4a67f2ccae639e9e79c49fd80dd32d746c5.gz
2007-10-18fixed Dzen and gave it a configurable timeoutDevin Mullins1-1/+7
darcs-hash:20071018012910-78224-804cedb28d826ddfc3d1a8177aa8460b38fe6591.gz
2007-10-12Move runXXX functions to one moduleChristian Thiemann1-0/+84
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. darcs-hash:20071012145233-8602e-6f8fb66c62afecdbd52a6a9122b5ecb55fc7f8bc.gz