http://bugs.winehq.org/show_bug.cgi?id=9910
--- Comment #4 from David Hall (gringer) winehq@gringer.dis.org.nz 2007-10-05 22:18:30 --- For creating the log, I did the following:
1) export WINEDEBUG="warn+all" 2) mkfifo errorpipe 3) echo "0" > markcount.txt 4) tail -f errorpipe >> error_${game}.log & 5) wine TFDLauncher.exe &> errorpipe [5 seconds before I clicked on the 'OK', I ran the following] 6) x=$(echo "$(cat markcount.txt) + 1" | bc); echo "--- MARK ${x} ---" >> \ errorpipe; echo ${x} > markcount.txt