ui: Report file names in 'system-error' exceptions from 'execlp'.
commit6616a35202378dd8d33fcf5f32ca57ee08e1a09e
authorTimothy Sample <samplet@ngyro.com>
Mon, 17 Dec 2018 04:12:13 +0000 (16 23:12 -0500)
committerLudovic Courtès <ludo@gnu.org>
Tue, 18 Dec 2018 15:04:25 +0000 (18 16:04 +0100)
tree819be41c7f06bfc61a69769b0a95913f28c58ad9
parent83d4da1211e8c5cdae10f228605f707f307d02c7
ui: Report file names in 'system-error' exceptions from 'execlp'.

Fixes <https://bugs.gnu.org/33755>.

* guix/ui.scm (apply-formals): New macro.
(execlp): New error-reporting wrapper.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
guix/ui.scm