[Bug 32679] cmd.exe Add support for || and &&

WineHQ Bugzilla wine-bugs at winehq.org
Sun Aug 2 22:49:13 CDT 2020


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

--- Comment #17 from alexcoffin1999 at gmail.com ---
(In reply to joaopa from comment #16)
> windows XP: expected expected
> Wine:expected expected unexpected.
> 
> So I assume the bug still occurs with wine-5.14.

I haven't checked  but I almost guarentee it.

Yeah the issue is really that the whole cmd.exe needs to be rewritten. I have
some notes I could send you, but they mostly are covered by this stackoverflow
post. WARNING: the post is incorrect about a few parts of the processing, and
order (I think I noticed because if you break a command across multiple lines
with new lines in variable expansion or other edges cases it doesn't quite
process how he claims it would).
https://stackoverflow.com/questions/4094699/how-does-the-windows-command-interpreter-cmd-exe-parse-scripts
If people actually care about this issue I could bite the bullet and do it, but
it seemed like a lot of work for something no one cares about. I would
recommend checking if ReactOS has a better implementation of cmd.exe before
starting from scratch though. Let me know if you want my other notes, and test
programs.

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