win: CREATE_NO_WINDOW when stdio is not inherited#1659
win: CREATE_NO_WINDOW when stdio is not inherited#1659ugexe wants to merge 1 commit intolibuv:v1.xfrom
Conversation
|
To clarify:
In the case of MoarVM this PR fixes the regression introduced in b21c1f9 In the case of nodejs this PR should bring back the console 'blip' but only if |
|
@bzoz do you have any thoughts on this? |
|
Sorry, was on vacations. This sounds reasonable, since it solves regression in libuv. @ugexe could you add a test for this? |
|
@bzoz @cjihrig I'm not sure how to write a test for this ( at this low of a level anyway ). Specifically the last step mentioned below: and then:
|
IIRC, I saw somewhere that you can make Node.js deadlock with this bug. Am I remembering correctly? If so, maybe a PR to Node adding a test case would be better than nothing. We're in the process of trying to get a CI job that tests libuv commits in Node. |
|
Change Technically tests exist as part of the Perl 6 spectests, but unfortunately we don't yet have the tooling/infrastructure to apply a build system our ( MoarVM ) dependencies. |
I'm not a Windows user, but |
|
The Node issue is here nodejs/node#17824 Just gave it a spin. The "deadlock" is because of Also, if you redirect stdout to a pipe or file it works, so this is a Anyhow, libuv CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/698/ |
|
I had to rebase this on top of |
|
This PR fixes the issue in Node, CI failures are unrelated and the failing test is currently also failing on master. So, this LGTM. |
|
Thanks for the help digging into this |
|
Sorry, forgot about this. I'll land this tomorrow. CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/709/ |
|
Landed in 48ba92c |
|
U-oh, I've messed up - the commit credits me as the author instead of @ugexe. Fixing that is beyond my git-fu, @libuv/collaborators can you help out? |
|
@bzoz, yeah will do that |
|
Landed in 491848a with the correct author. |
|
Thanks! |
Resolves #1625