Skip to content

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

Merged
Yukaii merged 1 commit intodevelopfrom
bug/pipe-export-content-to-stdout
Mar 11, 2022
Merged

fix: stdin unavailable read when accessing stdin.fd#60
Yukaii merged 1 commit intodevelopfrom
bug/pipe-export-content-to-stdout

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.

2 participants