http://bugs.winehq.org/show_bug.cgi?id=13303
--- Comment #15 from Damjan Jovanovic damjan.jov@gmail.com 2010-05-06 11:56:29 --- This is substantially more complex than it would appear.
Windows itself can quote and escape arguments, in an undocumented way that is different from fd.o (but seems like what shell32 does?), and contain %windir% and other fun inside the arguments. So the arguments need to be unescaped, preprocessed and argified, then re-escaped in fd.o style multiple backslashes.