Skip to content
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

change tmp path #41

Closed
ShangjinTan opened this issue Oct 26, 2020 · 3 comments
Closed

change tmp path #41

ShangjinTan opened this issue Oct 26, 2020 · 3 comments

Comments

@ShangjinTan
Copy link

Some files are written to directory /tmp, where we only have a very small volume. Processes crashes easily when multiple tasks are running simutaneously. It would be the best if the path can be set explicitly via a parameter.

@wwood
Copy link
Owner

wwood commented Oct 26, 2020

Hi,

This can be controlled by setting environment variables, e.g. TMPDIR. This isn't a parameter that CoverM can take directly, but can nevertheless be changed by users (and this mechanism is common to many programming languages). The specific function being used to find the temporary directory is documented here:
https://doc.rust-lang.org/std/env/fn.temp_dir.html

Does that help?
Thanks, ben

@ShangjinTan
Copy link
Author

Yes, nice, very helpful. Thanks.

wwood added a commit that referenced this issue Dec 9, 2020
See #41 for discussion.
@wwood
Copy link
Owner

wwood commented Dec 9, 2020

Documented properly now, so closing.

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

No branches or pull requests

2 participants