Subject: | Forcing quoting in windows with _shell_qoute works wrong on some console applications |
In the application wmic.exe format of options: /OPT:VALUE, your function
_shell_quote quoting strings contains [ \"], i.e. /USER:DOMAIN\myuser is
quoted like "/USER:DOMAIN\myuser", but application only understands
/USER:"DOMAIN\myuser" variant.
I think you must add option to disable quoting, or add some
configuration ability or maybe some templating?