Function: claude-code-ide--parse-command-string

claude-code-ide--parse-command-string is a natively compiled function defined in claude-code-ide.el.

Signature

(claude-code-ide--parse-command-string COMMAND-STRING)

Documentation

Parse a command string into (program . args) for terminal exec APIs.

COMMAND-STRING is a shell command line to parse. Returns a cons cell (program . args) where program is the executable and args is a list of arguments.

Source Code

;; Defined in /nix/store/yjvbhwl7p6zrbw9xlnni7y4hra8sa3pl-emacs-packages-deps/share/emacs/site-lisp/claude-code-ide.el
(defun claude-code-ide--parse-command-string (command-string)
  "Parse a command string into (program . args) for terminal exec APIs.
COMMAND-STRING is a shell command line to parse.
Returns a cons cell (program . args) where program is the executable
and args is a list of arguments."
  (let ((parts (split-string-shell-command command-string)))
    (cons (car parts) (cdr parts))))