Function envvars::cleanup

source ·
pub fn cleanup() -> Result<(), Error>
Expand description

Removes extractor file from OS temporary folder. envvars creates a small executable file in OS temporary folder. This application drops a list of available environment variables and does nothing else. As soon as the extractor has been created, envvars uses it. But it still can be safely removed for cleaning purposes for example before closing of an application.

If envvars doesn’t detect an extractor, it will be created again.

Note, envvars doesn’t remove an extractor application automatically.