https://bugs.winehq.org/show_bug.cgi?id=56361
--- Comment #2 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Vijay Kamuju from comment #1)
wmic should open a console just like cmd.exe
Yeah, but I now realized that it could alse be that a command was piped to wmic.
Just checked and windows wmic support this:
echo 'os get name' |wmic.exe
finds correct value; on wine this just fails.
I'll see if I can copy over some code from e.g. findstr.exe or so, as that supports this piping in wine.