Skip to content

Enforce R^W in std.popen()#1101

Merged
bnoordhuis merged 1 commit intoquickjs-ng:masterfrom
bnoordhuis:fix-popen-mode-arg-check
Jun 12, 2025
Merged

Enforce R^W in std.popen()#1101
bnoordhuis merged 1 commit intoquickjs-ng:masterfrom
bnoordhuis:fix-popen-mode-arg-check

Conversation

@bnoordhuis
Copy link
Copy Markdown
Contributor

Because a popen pipe is unidirectional the mode argument should be "r" or "w" but not "rw".

Because a popen pipe is unidirectional the mode argument should be
"r" or "w" but not "rw".
@bnoordhuis bnoordhuis merged commit 3d3b58d into quickjs-ng:master Jun 12, 2025
127 checks passed
@bnoordhuis bnoordhuis deleted the fix-popen-mode-arg-check branch June 12, 2025 22:08
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.

2 participants