spaulaus / paass

Pixie Acquisition and Analysis Software Suite - maintained by Project Science
GNU General Public License v3.0
0 stars 2 forks source link

Poll2::fdir does not check directory existence. #42

Open spaulaus opened 6 years ago

spaulaus commented 6 years ago

Expected Behavior

fdir should complain if the directory doesn't exist or can't be written to.

Current Behavior

It just proceeds without checking.

Context

Users could define a file that they can't write to. This will cause undefined behavior. First reported here

Possible Solution (optional)

Could use the functions in HelperFunctions::FileManagement.

Acceptance Criteria