[Bug 37977] New: Multiple applications using VBScript/JScript need scripting host 'WScript.Quit' implementation

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jan 28 17:08:25 CST 2015


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

            Bug ID: 37977
           Summary: Multiple applications using VBScript/JScript need
                    scripting host 'WScript.Quit' implementation
           Product: Wine
           Version: 1.7.35
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: wscript
          Assignee: wine-bugs at winehq.org
          Reporter: focht at gmx.net
      Distribution: ---

Hello folks,

similar to bug 36466

Actually not implementing scripting host 'Wscript.Quit' has more severe
consequences since many scripts use 'On Error Resume Next'.

Those simply continue execution with intended behaviour (in various cases
ending up in a crash)

--- snip ---
On Error Resume Next

If WScript.Arguments.Count <> 1 Then
 Wscript.Echo "need one argument!"
 Wscript.Quit 127
End If

Wscript.Echo "not reached"
--- snip ---

Regards

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