Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

Use java's createTempFile. Fixes #43 #49

Merged
merged 1 commit into from
Feb 10, 2021
Merged

Conversation

nickgal
Copy link
Contributor

@nickgal nickgal commented Feb 10, 2021

createTempFile generates a non-conflicting filename which avoids multiple processes trying to read/write the same file.

This fixes #43 the SIGSEGV when running multiple instances under linux.

@DeJayDev
Copy link
Collaborator

Love it, thanks for the PR. Small gripe with whatever happened on indentation on the reviewed line.

createTempFile generates a non-conflicting filename which avoids multiple processes trying to read/write the same file.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SIGSEGV when running multiple instances
2 participants