Skip to content

fix: Run pbts jsdoc without a shell#2160

Merged
dcodeIO merged 2 commits intomasterfrom
patch/pbjs-spawn
Apr 27, 2026
Merged

fix: Run pbts jsdoc without a shell#2160
dcodeIO merged 2 commits intomasterfrom
patch/pbjs-spawn

Conversation

@dcodeIO
Copy link
Copy Markdown
Member

@dcodeIO dcodeIO commented Apr 24, 2026

Uses spawn with an argument array when pbts invokes JSDoc instead of building a shell command string for exec. Avoids shell parsing issues with characters such as quotes, backticks, or semicolons.

Fixes #2081
Closes #2082 (same approach, but style-consistent and covered by a test)

@dcodeIO dcodeIO merged commit 648b760 into master Apr 27, 2026
6 checks passed
@github-actions github-actions Bot mentioned this pull request Apr 27, 2026
@dcodeIO dcodeIO deleted the patch/pbjs-spawn branch April 29, 2026 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pbts does not properly handle filepaths with special characters in it

2 participants