[Process] Fix write access check for pipes on Windows #19428
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about this?
I've changed it to a full stop before Verify and added one on the end for consistency with other exceptions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't change exception messages in minor versions...
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes we can
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we can, then I'd even prefer:
sprintf('A temporary file could not be opened to write the process output: %s', $error)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
cf43e63
todab172e
Compare[Process] Fix write access check for pipes on Windows
66e694e
dab172e
to66e694e
CompareUh oh!
There was an error while loading. Please reload this page.
Status: Reviewed
Thank you for this quick PR.
I've done more tests and had no more problems since this PR,
Before the exception were killing the process, now it's just a warning.
I was waiting for the author of #19336 to test his issue but it's been over a week, so at least for me this fixes my issue and should also fix his.
Thanks. The warning should be gone btw.
66e694e
into symfony:2.7bug #19428 [Process] Fix write access check for pipes on Windows (nic…
f9ba34f