[Bug 49811] New: cmd /c "cd "directory"&&"somecommand.exe"" tries to cd to "directory"&&"somecommand.exe"

WineHQ Bugzilla wine-bugs at winehq.org
Thu Sep 10 21:22:35 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=49811

            Bug ID: 49811
           Summary: cmd /c "cd "directory"&&"somecommand.exe"" tries to cd
                    to "directory"&&"somecommand.exe"
           Product: Wine
           Version: 5.16
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: cmd
          Assignee: wine-bugs at winehq.org
          Reporter: lolisamurai at tfwno.gf
      Distribution: ---

Created attachment 68139
  --> https://bugs.winehq.org/attachment.cgi?id=68139
trace with WINEDEBUG=+cmd

I ran into a scene installer that calls cmd /c with very convoluted quoting. I
narrowed the bug down to this example (run from C:\):

> cmd /c "cd "windows"&&"system32\notepad.exe""

when you run this on windows 10 cmd, it cd's to windows and opens notepad as
expected

on wine, it interprets "windows"&&"system32\notepad.exe" as the directory to cd
to. I have attached a trace with WINEDEBUG=+cmd

-- 
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.



More information about the wine-bugs mailing list