Skip to content

Temporary files not deleted on interrupt #468

Description

@MaxOstrowski

After calling minizinc foo.mzn --solver mysolver minizinc leaves some files like
mznfileGGAQWr.fzn
in the /tmp directory of my system in case the run is interrupted (e.g. hitting ctrl+c, memout, etc...).

This can periodically crash our cluster when the /tmp is full.
Could you remove these temporary files in the signal handler ?

Is there an environment variable that you are using to determine the /tmp folder, such that I could change it and delete it from outside ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    resolvedIssue is resolved and the feature or fix will be part of next release

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions