lib/grover/processor.rb in grover-1.1.11 vs lib/grover/processor.rb in grover-1.2.0
- old
+ new
@@ -31,10 +31,10 @@
attr_reader :app_root, :stdin, :stdout, :stderr, :wait_thr
def spawn_process
@stdin, @stdout, @stderr, @wait_thr = Open3.popen3(
Grover.configuration.node_env_vars,
- 'node',
+ *Grover.configuration.js_runtime_bin,
File.expand_path(File.join(__dir__, 'js/processor.cjs')),
chdir: app_root
)
end