diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-13 10:23:00 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-13 10:23:00 +0300 |
| commit | d799f3f04da8067669c90a755e90cd723f9746e7 (patch) | |
| tree | 02c0c5dda7aaa0d79a230e043297ad822cf2b9f0 /internal/runtime | |
| parent | 5856360a696b958a4c5c57cf512c5a04f0cfd66f (diff) | |
fix: use shell-aware tokenizer in resolveEditorCommand to handle EDITOR paths with spaces
Replace strings.Fields with a new shellSplit function that implements
POSIX-like quoting rules (single-quotes, double-quotes, backslash escapes),
so EDITOR values such as '/My Editor/hx' or "/path/with spaces/hx" --wait
are correctly parsed rather than mangled into multiple path components.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/runtime')
0 files changed, 0 insertions, 0 deletions
