-
Notifications
You must be signed in to change notification settings - Fork 287
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
Run msiexec with start /wait #394
Conversation
Relevant e2e test still passing:
|
I believe this is unlikely to change anything about the situation. |
At least is should improve error reporting and repeated attempts. |
I don't believe it will, because /c already has the effect here. If we were not waiting for exit things would have been long broken long before now. |
Some combination of this change and #397 resulted in us now getting no output :(. Looking at it again I think both changes were wrong and the actual problem is that we don't report the partial read that happens for the last stdout write from the child:
Note that ReadFile is getting ERROR_BROKEN_PIPE. |
I think it would help to have a test which checks how errors are handled. |
If you have ideas on how to write such a test I think we would be all ears. |
This reverts commit 64df030.
A potential fix for
Cf. microsoft/vcpkg#19490 (comment), https://devblogs.microsoft.com/setup/waiting-for-msiexec-exe-to-finish/