-
Notifications
You must be signed in to change notification settings - Fork 272
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
plotman kill doesn't remove all the temp files in tmp directory
To Reproduce
Steps to reproduce the behavior, e.g.:
plotman kill [idprefix]and select remove all temp files.- go to tmp directory
ls -l | grep [idprefix]shows there are still some files
This leads to a tmp dir full of old tmp files from dead plots which fills the tmp dir unnecessarily.
Expected behavior
Remove all temp files.
This is probably because
temp_files = job.get_temp_files()
does not return all temp files, so it may be better to add os.listdir(tmp_dir) and some pattern matching to be sure it's all gone.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working