http://bugs.winehq.org/show_bug.cgi?id=25738
--- Comment #1 from Dan Kegel dank@kegel.com 2011-01-10 10:36:01 CST --- Created an attachment (id=32796) --> (http://bugs.winehq.org/attachment.cgi?id=32796) patch to remove surrounding quotes if entire command is quoted
Here's an ugly patch that recognizes the case of an entire commandline surrounded by quotes, and removes the outer layer of quotes. It fixes the reduced testcase you gave, though probably only because the reduced testcase doesn't quite mimic the real problem.