Skip to content

Commit

Permalink
Use exec to run just in shell
Browse files Browse the repository at this point in the history
  • Loading branch information
jscheid committed Nov 15, 2024
1 parent 4893ebc commit d4897c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions justl.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))))
Expand Down

0 comments on commit d4897c5

Please sign in to comment.