[patch] output exitcode when no xmonad.error output

Hi, If xmonad is running without ghc installed for some reason and one tries to restart it (mod-q), the recompile error dialog doesn't contain any useful error message from execv (it fails silently when it can't find the command). Here is a small patch to output the exitcode when compilation fails and xmonad.error is empty. Jens

On 26 April 2011 16:58, Jens Petersen
If xmonad is running without ghc installed for some reason and one tries to restart it (mod-q), the recompile error dialog doesn't contain any useful error message from execv (it fails silently when it can't find the command).
Here is a small patch to output the exitcode when compilation fails and xmonad.error is empty.
Oops, forgot to attach the dpatch... Jens

Applied. * On Wednesday, April 27 2011, Jens Petersen wrote:
On 26 April 2011 16:58, Jens Petersen
wrote: If xmonad is running without ghc installed for some reason and one tries to restart it (mod-q), the recompile error dialog doesn't contain any useful error message from execv (it fails silently when it can't find the command).
Here is a small patch to output the exitcode when compilation fails and xmonad.error is empty.
Oops, forgot to attach the dpatch...
Jens
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad

This 1-patch bundle was just applied to http://code.haskell.org/xmonad:
20110426062341 Jens Petersen
participants (3)
-
Adam Vogt
-
darcswatch@nomeata.de
-
Jens Petersen