In a PyQt dialog box I create a file system watcher with a callback to refresh some variables when a config file is changed:
qfsw = QtCore.QFileSystemWatcher(configFilePath)
As soon as the file is changed by another application, I get a "rv.exe has stopped working" dialog box and I have to kill the application. It freezes even if the callback is an empty function, but if I don't connect to the callback (the second line), it doesn't freeze. This same watcher code works fine in maya.
I'm running this under Windows 7, starting the dialog box from our custom menu implemented in python.
Any ideas as to what's going on?