https://bugs.winehq.org/show_bug.cgi?id=37827
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com --- Hi, please try again, check for possible extra spaces in the command:
WINEDEBUG=+commdlg,+winspool wine notepad >> /tmp/log.txt 2>&1
You probably typed it like:
WINEDEBUG=+commdlg, +winspool wine notepad >> /tmp/log.txt 2>&1