aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Util/Run.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
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