[Bug 56820] New: error in bat file (operator ||)
https://bugs.winehq.org/show_bug.cgi?id=56820 Bug ID: 56820 Summary: error in bat file (operator ||) Product: Wine Version: 9.9 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs(a)winehq.org Reporter: nemos200408(a)gmail.com Distribution: --- error processing bat file (operator ||), when use this operator bat script must execute command after || if command before errorlevel is NOT 0, but command execute anyway simple test bat file echo 123 || echo error on normal it must output only 123 but it output 123 error -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56820 Eric Pouech <eric.pouech(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech(a)gmail.com Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Eric Pouech <eric.pouech(a)gmail.com> --- Marking as dup of implementing || and && operators in batch file Note that statement in #1 "if command before errorlevel is NOT 0" is partially wrong. What should be taken care of is command return code, which is not always the error level (but sometimes is). I have a full implementation of all of this. *** This bug has been marked as a duplicate of bug 32679 *** -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56820 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- Closing duplicate. -- 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.
participants (1)
-
WineHQ Bugzilla