I'm using a Winebottler installation with the "Run Directly..." option, which I think is equivalent to just running wine directly. To run wine from the command line, I use "open -a Wine ..." in place of "wine ..." I'm not sure that that "export WINEDEBUG=+file" is doing anything. The logfile is blank. Should the command be modified for a WineBottler installation?