Skip to content

Conversation

@deviaze
Copy link
Collaborator

@deviaze deviaze commented Jan 6, 2026

Allows Piped, Inherit, None options for each stream of stdio; breaking changes to ChildProcess typedef

Existing code will still work, but now you need to cast the return of process.spawn to process.PipedChild for the current behavior.

This is similar to the equivalent api in node/bun and Zune where stdout/stderr/stdin are optional
@deviaze deviaze linked an issue Jan 6, 2026 that may be closed by this pull request
@deviaze deviaze changed the title ChildProcess stdio options and environment variables process.spawn: add stdio options and environment variables Jan 11, 2026
@deviaze deviaze merged commit 8e1df65 into main Jan 12, 2026
4 checks passed
@deviaze deviaze deleted the spawn-stdio-options-144 branch January 12, 2026 16:06
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.

Support stdio options in process.spawn

1 participant