https://issues.apache.org/bugzilla/show_bug.cgi?id=51359

--- Comment #6 from Keith Mashinter <[email protected]> ---
As to the use of  *.wsf, this does seems to work but is a bit awkward having
Javascript within XML.  Also, allowing //! for JS files would allow for other
*.js engines to run on other platforms, e.g. launching node x.js if desired.

That said, this hack does seem to work, having a trailing single-quote to
appease JScript compilation while allowing for the vbscript style comment.

'!c:/windows/system32/cscript -nologo test.js '
WSH.Echo("Content-type: text/plain\n");
WSH.Echo("Hello world from " + ScriptEngine() + " !");

Given the dwindling support for older Windows Scripting, it's not a high
priority and can be closed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to