Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Process] fix locking of pipe files on Windows#28689
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
nicolas-grekas commentedOct 2, 2018
| Q | A |
|---|---|
| Branch? | 2.8 |
| Bug fix? | yes |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | no |
| Tests pass? | yes |
| Fixed tickets | #28655 |
| License | MIT |
| Doc PR | - |
nicolas-grekas commentedOct 4, 2018
@SailorMax patch updated, can you try the new one please? |
SailorMax commentedOct 4, 2018
With new patch all my processes has exitCode = 1 and did not work at all. Can't write stdout and stderr to locked files? |
5848edd to34cc895Comparenicolas-grekas commentedOct 5, 2018
Thanks, can you try again please? It should be good now (at least appveyor is green.) |
SailorMax commentedOct 5, 2018
Yes, latest patch work as expected in my case. |
SailorMax commentedOct 5, 2018
But after work temp files remain in the temp-directory. Is it feature? :) |
nicolas-grekas commentedOct 5, 2018 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
It is :) Actually there is no way around: unlinking the file would create race conditions. |
SailorMax commentedOct 5, 2018
For me - not a problem :) |
fabpot commentedOct 10, 2018
Thank you@nicolas-grekas. |
…ekas)This PR was merged into the 2.8 branch.Discussion----------[Process] fix locking of pipe files on Windows| Q | A| ------------- | ---| Branch? | 2.8| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |#28655| License | MIT| Doc PR | -Commits-------d64bd3b [Process] fix locking of pipe files on Windows