From d4897c5781889830209ed374ad237d49f02db194 Mon Sep 17 00:00:00 2001 From: Julian Scheid Date: Fri, 15 Nov 2024 10:13:26 +0100 Subject: [PATCH] Use `exec` to run just in shell --- justl.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/justl.el b/justl.el index 40b12b2..ade4ee5 100644 --- a/justl.el +++ b/justl.el @@ -576,10 +576,10 @@ is not executed." (let* ((recipe-name (justl--recipe-name recipe)) (recipe-args (justl--recipe-args recipe)) (transient-args (transient-args 'justl-help-popup)) - (args-list (cons justl-executable - (append transient-args - (list recipe-name) - (mapcar 'justl--arg-default recipe-args))))) + (args-list (append (list "exec" justl-executable) + transient-args + (list recipe-name) + (mapcar 'justl--arg-default recipe-args)))) (vterm-insert (string-join args-list " "))) (unless no-send (vterm-send-return))))