I'm working on a project which will require that at least two folders be watched for incoming files. When one arrives the program take appropriate action based on the contents of the file. When this action completes, another part of the project watches for the arrival of files in another folder.
My question: Is it better to have a separate exe file for each filesystem watcher or would placing more than one in a single executable be better? There may the need to watch more than just two folders in the future. And I'm considering it being only one folder to watch but have each filesystem watcher filter for different extensions in the filenames.
My question: Is it better to have a separate exe file for each filesystem watcher or would placing more than one in a single executable be better? There may the need to watch more than just two folders in the future. And I'm considering it being only one folder to watch but have each filesystem watcher filter for different extensions in the filenames.