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@winehq.org Reporter: focht@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