Skip to content

Conversation

mvz
Copy link
Contributor

@mvz mvz commented Apr 1, 2024

No description provided.

mvz added 5 commits November 10, 2024 13:44
On Windows, the finalizer for Tempfile will raise an error if
Errno::ENOACCES is raised when removing the file. However, if this
happens when #unlink is called, the error is caught.

This change calls #unlink on the Tempfiles that are used to store the
output of spawned processes. This means the finalizer will not need to
unlink the file, so any Errno::ENOACCES errors during unlinking will be
caught.

The raised errors did not make any specs fail, but they did appear in
the rspec output.
@mvz mvz force-pushed the tmp-windows-test branch from e25551d to e0ef408 Compare November 10, 2024 12:44
@mvz mvz changed the title Re-run on windows with the same seed TMP: Re-run on windows with the same seed Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant