aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Util/Run.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* documentation patch: mention PostfixOperatorsDaniel Wagner2011-12-111-0/+9
| | | | | | Ignore-this: 20a05b1f396f18a742346d6e3daea9a8 darcs-hash:20111210234820-76d51-9e61d010d8e3f8cc477e4db4ec41f0985c588233.gz
* Be consistent with core utf8-string usage.Adam Vogt2011-11-181-4/+7
| | | | | | | | | | Ignore-this: 9de0599d0fb888c58e11598d4de9599e Now that spawn assumes executeFile takes a String containing utf8 codepoints (and takes an actual String as input) adjust Prompt.Shell to avoid double encoding. U.Run functions are updated to be consistent with spawn. darcs-hash:20111118184745-1499c-0f5bee188cc9540d2747db1adbf87619011a5443.gz
* Compile with ghc7Mats Rauhala2011-05-041-2/+2
| | | | | | Ignore-this: 218d2e19835f1e4315c01bd6214899ce darcs-hash:20110504192455-af521-ba19a95226d2527af9fbad8ed902982f2db567db.gz
* XMonad.Util.Run: resolve issue #441gwern02011-04-111-11/+11
| | | | | | | | | | | | | | | Ignore-this: 9e3da81df65f6750c822a5044952f1a1 See <http://code.google.com/p/xmonad/issues/detail?idD1> > I have run into programs that fail when run by safeSpawn but succeed with spawn. > I tracked it down in one (python) and it seems to be due to uninstallSignalHandlers. > When run by safeSpawn, the program reports errors from wait. dylan did not supply a patch and his version doesn't match the declared type signature; since I don't want to break every `safeSpawn` user, I tossed a `>> return ()` in to make the type right, although I'm troubled at removing the exception functions. darcs-hash:20110411163740-f7719-bf0d46f94d103cc328629ad32f8e650fec609cdc.gz
* XMonad.Util.Run: improve linking and rearrange docsgwern02010-06-201-5/+6
| | | | | | Ignore-this: d7b76532309237ddfa22c31a1f1ef5a4 darcs-hash:20100620175215-f7719-c08761496e5cbc2ff0d3f80218089dc4a92b0460.gz
* XMonad.Util.Run: correct broken examplegwern02010-06-201-1/+1
| | | | | | Ignore-this: b390fa0e36b0bd629e7016797e316760 darcs-hash:20100620175158-f7719-cfd30111efaeb0bf3a63763818d957293c73b93b.gz
* XMonad.Util.Run: fix unicode chargwern02010-06-201-1/+1
| | | | | | Ignore-this: 3e524f9d8a96cb47c2c8c7c265d8e649 darcs-hash:20100620175140-f7719-512559a22f28ac7af66de74bf308cb8473290351.gz
* Use extensible-exceptions to allow base-3 or base-4Adam Vogt2010-01-241-2/+5
| | | | | | Ignore-this: 136f35fcc0f3a824b96eea0f4e04f276 darcs-hash:20100124203324-1499c-6e811978a61feebf704e3cd7543cbcc0b3e8a0b3.gz
* Fix the createSession bug in spawnPipeSpencer Janssen2009-12-271-3/+1
| | | | | | | | Ignore-this: 2d7f8746eb657036d39f3b9aac22b3c9 Both the new XMonad.Core.xfork function and spawnPipe call createSession, calling this function twice results in an error. darcs-hash:20091227003501-25a6b-5a23d578f0a0f368e28041b7be7defb532dd9ef3.gz
* Update all uses of forkProcess to xforkSpencer Janssen2009-12-231-4/+4
| | | | | | Ignore-this: 963a4ddf1d2f4096bbb8969b173cd0c1 darcs-hash:20091223064558-25a6b-b8cdfb14005aa9b60d9cbac7b257a6fc22b8eac4.gz
* generalize IO actions to MonadIO mdaniel2009-11-141-6/+6
| | | | | | | | Ignore-this: 2c801a27b0ffee34a2f0daca3778613a This should not cause any working configs to stop working, because IO is an instance of MonadIO, and because complete configs will pin down the type of the call to IO. Note that XMonad.Config.Arossato is not a complete config, and so it needed some tweaks; with a main function, this should not be a problem. darcs-hash:20091114023616-c98ca-0a233cc53c41986845db4300530ec4f9e4d52a37.gz
* fix documentation to match implementationdaniel2009-11-141-2/+1
| | | | | | Ignore-this: 6dbbb118b139f443c40a573445a48d07 darcs-hash:20091114021328-c98ca-645fad0f6b8276a7682f9a4c852c1af7cb8a4e34.gz
* fix X.U.Run.spawnPipe fd leakTomas Janousek2009-10-251-0/+1
| | | | | | Ignore-this: 24375912d505963fafc917a63d0e79a0 darcs-hash:20091025210246-c9ff5-8862b42a8c811c272ae3e3bc864f32f58488e065.gz
* Refer to modm as the current modMaskAdam Vogt2009-10-221-2/+2
| | | | | | | | Ignore-this: d097c7dc1746c55e1d4078a7148f9d5a This makes the config suggestions consistent with the current template. darcs-hash:20091022041126-1499c-5dd63076fdd71a61276cfc8e648bada81d9cc586.gz
* XMonad.Util.Run: improve definition so this can be used with emacsgwern02009-06-221-4/+4
| | | | | | Ignore-this: 984788359376e3d2bab0d1e86ff1276f darcs-hash:20090622201401-f7719-ae5b727adccbdeab8313cf766b610417f053d42c.gz
* XMonad.Util.Run: +convenience function for safeSpawn which drops args to the ↵gwern02009-06-221-0/+7
| | | | | | | | prog Ignore-this: fc48265f252e015ffdc1792c6c9eaa12 darcs-hash:20090622193018-f7719-e9d8d69d38b45f944c2a3c090dd0c47d09887013.gz
* Correct many typos in the documentation, consistent US spellinggAdam Vogt2009-06-181-1/+1
| | | | | | Ignore-this: cf6dcf340fa6cc010f7879f188d376f5 darcs-hash:20090618003729-1499c-c927c08cda268b94b350f6419a64df8ca1e863d4.gz
* U.Run: remove waitForProcess to close Issue 268wirtwolff2009-02-201-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
* uninstallSignalHandlers in spawnPipeSpencer Janssen2009-01-221-0/+1
| | | | | | Ignore-this: e8cfe0f18f278c95d492628da8326fd7 darcs-hash:20090122002745-25a6b-b42d9d8cb09c461d5e7669524a0c488213a4a1b3.gz
* Create a new session for spawnPiped processesSpencer Janssen2009-01-221-1/+2
| | | | | | Ignore-this: 37529c5fe8b4bf1b97fffb043bb3dfb0 darcs-hash:20090122000441-25a6b-becd6e77cacaeedd73bddc96b8059c89cbb97bca.gz
* Update all uses of doubleFork/waitForProcessSpencer Janssen2009-01-161-6/+7
| | | | | | Ignore-this: 4e15b7f3fd6af3b7317449608f5246b0 darcs-hash:20090116210315-25a6b-53190793833624e0c5e36ce353333092e5243883.gz
* decent documentation for UrgencyHookDevin Mullins2008-05-151-2/+1
| | | | | | Blame it on lack of sleep. Or perhaps the causation is the reverse. darcs-hash:20080515082222-78224-3ad2870a4f5e56481131bd4898f0d3154bb89694.gz
* Util.Run, Hooks.DynamicLog: re-export hPutStrLn and hPutStr from Util.Run ↵Brent Yorgey2008-03-281-1/+3
| | | | | | for convenience, and update DynamicLog documentation to show proper imports darcs-hash:20080328205446-bd4d7-ae6c9a13c69620ec5edef7d34086236974c0c631.gz
* Run.hs: improve haddockgwern02008-03-161-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
* Util.Run: minor clarification in commentgwern02008-03-031-1/+1
| | | | darcs-hash:20080303051513-f7719-6ebdf87e5a5889f480ad10e1f489dc7ce625ce46.gz
* Run.hs: add an option to runintermsgwern02008-02-051-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
* Use doubleFork instead of manual double fork, or buggy single fork.nicolas.pouillard2008-01-141-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
* Run.hs: fix documentation, cleanup whitespaceValery V. Vorotyntsev2007-12-121-3/+3
| | | | darcs-hash:20071212091516-ae588-40ba4e8560f1132c6054b3b459c9fcbf9c7679e3.gz
* Remove redundant importsSpencer Janssen2007-12-081-1/+1
| | | | darcs-hash:20071207233827-a5988-9e41d51120499637f14d115f2cf1428edaf326bb.gz
* Miscellaneous spell-checkingShachaf Ben-Kiki2007-11-191-1/+1
| | | | darcs-hash:20071118230319-bffde-6c56202afece4ecc55d48d37bde3f80edaff66f7.gz
* XMonad.Util.Run: meny haddock fixesAndrea Rossato2007-11-161-28/+38
| | | | | | | I've also trasnformed gwern's comments to use '--' instead of {- -}, for uniformity. darcs-hash:20071116120938-32816-c342a43b4bb3dc813ac8231838b607cd8f58b530.gz
* typo fix in Util.RunDevin Mullins2007-11-101-1/+1
| | | | darcs-hash:20071110211328-78224-d2f8f3c41f0df0710b1d6317d14cc9090735a6fd.gz
* Generalize safe/unsafeSpawn to MonadIOSpencer Janssen2007-11-091-3/+3
| | | | darcs-hash:20071109073810-a5988-634efa9c3c56f39ea64be1b29791bb61c54eb6bd.gz
* Add spawnPipeSpencer Janssen2007-11-071-2/+20
| | | | darcs-hash:20071107075009-a5988-a5a816a093890ddc9477ca7d6cb339061256d16d.gz
* make Setup haddock work againLukas Mai2007-11-061-1/+3
| | | | darcs-hash:20071106141829-462cf-c1daa2d74d17a314c7b1f68f9952e8502e44628f.gz
* HierarchifySpencer Janssen2007-11-011-0/+114
darcs-hash:20071101201059-a5988-fc1f1262bec1b69e13ba18ae7cefeafc8c4471d4.gz