mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-14 03:25:50 +00:00
When we're building an input string that's explicitly meant to be used as a shell command, quote (escape) it using the same logic as Python's shlex.quote function. This specifically addresses issues we've seen when open(1)'ing Ghostty with filename arguments that contain spaces.