http://bugs.winehq.org/show_bug.cgi?id=7900
------- Additional Comments From ken@codeweavers.com 2007-30-03 12:08 ------- Created an attachment (id=5561) --> (http://bugs.winehq.org/attachment.cgi?id=5561&action=view) Patch which helps with quoted lpFile in some cases
This patch changes SHELL_execute so that it keeps track of whether the value in wszApplicationName is known to contain a singular value -- one which should not be parsed as if spaces might separate a program from parameters.
The main case where this is known is when lpFile is quoted on input. Without this patch, SHELL_execute unquotes the filename but forgets that it was quoted and later tries to parse it as a command line. The original quoting should prevent such parsing.