Skip to content

Quote FreeView subtitles as literal shell arguments - #86

Merged
jnolan14 merged 1 commit into
freesurfer:masterfrom
jdotc1:fix/quote-freeview-subtitle
Oct 27, 2026
Merged

jnolan14 merged 1 commit into
freesurfer:masterfrom
jdotc1:fix/quote-freeview-subtitle

Conversation

@jdotc1

@jdotc1 jdotc1 commented Oct 14, 2026

Copy link
Copy Markdown

Use shlex.quote for the subtitle shell token, preserving quotation marks and shell substitutions as literal title text.

Validation: Reused package/baseline-receipt.json and package/patched-receipt.json. Baseline source-excerpt regression failed and the same minimal edit passed: Actual Bash invocation delivered the exact literal subtitle to a harmless argv printer. Full source context and committed diff reviewed. No unchanged tests rerun.

Limitations: Only subtitle quoting is covered; other shell fragments remain unchanged. No native FreeView launch. Supplied short-context patch required equivalent exact-block application.

@jdotc1

jdotc1 commented Oct 23, 2026

Copy link
Copy Markdown
Author

Could a maintainer approve the Package Test workflow for the current head (1d83a93)? It is waiting for authorization before the checks can run. Thank you.

@jnolan14
jnolan14 merged commit 3d282ad into freesurfer:master Oct 27, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants