[Bug 7900] ShellExecuteEx can fail for paths with spaces in them

Wine Bugs wine-bugs at winehq.org
Fri Mar 30 12:08:23 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=7900





------- Additional Comments From ken at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list