https://bugs.winehq.org/show_bug.cgi?id=56361
--- Comment #7 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 76113 --> https://bugs.winehq.org/attachment.cgi?id=76113 possible patch
Attached a much less hacky patch.
I'm not sure but it seems like native wmic fires up a new wmic instance as in the console one can see the wmic command prompt(??)
Like this command : 'os get name' |wmic gives in the output : "wmic:cli/root>" or something like that, and then the result of the query.
Not sure how to check previous guess, but this patch more ore less tries to do the same.