Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: stdin unavailable read when accessing stdin.fd #60

Merged
merged 1 commit into from
Mar 11, 2022

Conversation

JamesCamel
Copy link
Contributor

No description provided.

@JamesCamel JamesCamel requested a review from Yukaii March 11, 2022 04:30
@JamesCamel
Copy link
Contributor Author

JamesCamel commented Mar 11, 2022

The error happens when accessing constant variable process.stdin.fd, which equals to value 0. It is an opening issue from Node.

Workaround:

Use 0 instead of process.stdin.fd

Reference:

@Yukaii Yukaii merged commit 499afdf into develop Mar 11, 2022
@Yukaii Yukaii deleted the bug/pipe-export-content-to-stdout branch March 11, 2022 06:34
@Yukaii Yukaii mentioned this pull request Apr 28, 2023
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.

None yet

2 participants