Description
Greetings team.
I didn't know how else to communicate with your group. Years ago I needed to do some JS embedding and both Node.js and QuickJS were not compiling in my environments. Recently I found that not only is Bellard's version compiling in Ming32, I found your project! Today my needs are requiring command line scripting. So I have taken the liberty of filling in some of the missing functionality in WIN32. This is mainly the kind of thing I need for my job when Windows Scripting Host cannot dare. I was hoping I could work with your team and help fill in the gaps, as what I mostly need is something I can directly download and compile like this.
I've tested the attached test script in Ming64 on MSYS2, WSL running Debian, and Visual Studio 2022. I've attached the files for review, adding support for the following:
js_os_symlink - now includes _WIN32. note you cannot use readlink
js_os_pipe - now includes _WIN32 (using fds not handles)
js_os_exec - now includes _WIN32
-build_ms_envp - _WIN32 only ( one large double-nulled string, no array )
js_watchpid - linux and _WIN32, hybrid function to do the wait, no status
js_os_kill - now includes _WIN32 (just a kill on pid, no signals)
js_std_tmpfile new _MING version. permissions fail these days.
-JSSTDFile - holds filename for deletion
-std file finalizer - added remove tmpfile on delete