node.jsを単純にインタプリタとして実行する

概要

別プロセスのnode.jsを単純にインタプリタとして実行する、ということであれば、
HmEdgeJSは必要ありません。

以下のようなマクロでも組めば、普通にnode.jsで対象のjavascriptファイルを実行できます。

今、秀丸で開いているファイルをnode.jsでインタプリタとして実行する。
// 秀丸 v8.40以降

runex "node.exe \"%f\""
    , 0             //sync    0:async 1:sync
    , 0, ""         //stdin   0:none 1:auto 2:file 3:(reserve) 4:all 5:select
    , 7, ""         //stdout  0:none 1:auto 2:file 3:add file  4:new 5:insert 6:replace 7:output frame 8:add output frame
    , 7, ""         //stderr  0:none 1:=out 2:file 3:add file  4:new 5:insert 6:replace 7:output frame 8:add output frame
    , 0, ""         //folder  0:none 1:current 2:specify 3:(reserve) 4:exe's folder
    , 0             //show    0:auto 1:show 2:hide
    , 0             //nodraw  0:draw 1:no draw
    , 6             //unicode 0:ansi 2:utf16 6:utf8
    ;