-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Awaiting stderr results in script hanging, sometimes #5621
Comments
Can you post a link to your repo? There's not enough context here to help you effectively. |
Most likely same problem as in #4789 |
I've tested and this issue still appears on deno version prior to 0.41.0, so it may not be the same issue |
@HarryPeach have you taken into account that |
Replacing all instances of |
@HarryPeach Do you have a small standalone test case I can try locally? I want to track this down but I need something minimal. |
I have run the provided example and I cannot reproduce this, and since there has not been a reply from author since nearly 3 years to provide further information, i will close this as fixed. |
Hi, I'm writing a library for a terminal spinner, and sometimes the script will hang after writing.
I think I've narrowed it down to the
Deno.write
calls, as there seems to be some async issues going on.The solution to a similar issue in #5515 was to await all write calls, which is what I've done but the error still persists.
The following code:
Results in this output and hang:
All the calls to
Deno.write
look like this:And all calls are awaited
(the full code is at my Kia repo if you need more context)
The text was updated successfully, but these errors were encountered: