Function: majutsu--shell-command-needs-shell-p

majutsu--shell-command-needs-shell-p is a natively compiled function defined in majutsu-command.el.

Signature

(majutsu--shell-command-needs-shell-p COMMAND)

Documentation

Return non-nil when COMMAND should be handed to the shell.

This conservatively detects shell operators that cannot be preserved by split-string-shell-command.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-command.el
(defun majutsu--shell-command-needs-shell-p (command)
  "Return non-nil when COMMAND should be handed to the shell.
This conservatively detects shell operators that cannot be preserved by
`split-string-shell-command'."
  (string-match-p "[|&;<>`]" command))