https://bugs.winehq.org/show_bug.cgi?id=40952 Bug ID: 40952 Summary: improper escaping of quotes in command line Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs(a)winehq.org Reporter: programmerjake(a)gmail.com Distribution: --- invalid quoted argument generation from argv in build_command_line doesn't double backslashes before the closing quote. https://github.com/wine-mirror/wine/blob/master/dlls/kernel32/process.c#L752 demo (from bash): wine cmd /c echo ' \' wine cmd /c echo ' \\' wine cmd /c echo ' \\\' wine cmd /c echo ' \"' wine cmd /c echo ' \\"' wine cmd /c echo ' \\\"' outputs: " \" " \\" " \\\" " \\\"" " \\\\\"" " \\\\\\\"" should output: " \\" " \\\\" " \\\\\\" " \\\"" " \\\\\"" " \\\\\\\"" -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.