You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kbkpbot
changed the title
[os] set_redirect_stdio() cause process hang under Windows
[os] set_redirect_stdio() cause process hang when child process output large text
Mar 20, 2025
Describe the bug
When try to use
set_redirect_stdio()
get the output of a child process, it will hang when child process try to output large text.Reproduction Steps
create two file:
sub.v
pp.v
then compile files:
run
pp
Expected Behavior
dump the output child:
Current Behavior
run
./pp
will just hang.Possible Solution
modify
repeat()
to a smaller number.Maybe use a separate thread read the stdout/stderr, before we wait the child finish.
Additional Information/Context
V version
V 0.4.10 21874f9.a9a96b8
Environment details (OS name and version, etc.)
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: