https://bugs.winehq.org/show_bug.cgi?id=42399
Bug ID: 42399 Summary: Implement Windows Script Host Product: Wine-gecko Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-gecko-unknown Assignee: jacek@codeweavers.com Reporter: kolan_n@mail.ru Distribution: ---
Wine has wscript.exe, cscript.exe and JScript.dll, but they seem to do nothing. This prevents some software embedding WSH from working properly. The solution can be some open-source JS engine like SpiderMonkey or v8 wrapped into a a library providing WSH API. Probably you can reuse node.js which looks similar to WSH in the sense it has API for network requests and FS manipulation.
Of course it is possible to install Microsoft's WSH, but it surely contain vulnerabilities since it have not been updated for years and lacks modern JS features.
https://bugs.winehq.org/show_bug.cgi?id=42399
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Product|Wine-gecko |Wine Component|wine-gecko-unknown |-unknown Assignee|jacek@codeweavers.com |wine-bugs@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=42399
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- What is your Wine version? Wine has it's own wscript/cscript and jscript.dll together with supplementary wshom and scrrun. It would help to see your test case that does not work first.
https://bugs.winehq.org/show_bug.cgi?id=42399
--- Comment #2 from KOLANICH kolan_n@mail.ru --- Sorry, I have rechecked the script, it was a bit invalid. When I fixed it, it produced output as planned.
https://bugs.winehq.org/show_bug.cgi?id=42399
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- Ok, so no bug then?
https://bugs.winehq.org/show_bug.cgi?id=42399
--- Comment #4 from KOLANICH kolan_n@mail.ru --- In fact there are some related, but I think we can close this one.
https://bugs.winehq.org/show_bug.cgi?id=42399
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED
--- Comment #5 from Austin English austinenglish@gmail.com --- Invalid.
https://bugs.winehq.org/show_bug.cgi?id=42399
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Implement Windows Script |Windows Script Host fails |Host |to run a script (script was | |invalid) Status|RESOLVED |CLOSED
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com --- Closing.