Check for potential I/0 error before processing
jfstenuit opened this issue · comments
jfstenuit commented
When using the "--output" flag and directing to a file without write access, one should open the file before starting the processing, otherwise, the processing time is wasted and the [x] File exists (os error 17)
error message only happens at the end.
Way to reproduce :
$ set -o noclobber
$ touch chainsaw-output.csv
$ chainsaw hunt ... --full --csv chainsaw-output.csv
Alex Kornitzer commented
Should be fixed in that above commit, will re-open if that is not the case.