Skip to content

Commit

Permalink
bitfocus: do not assume nodejs path
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Jan 4, 2025
1 parent 1626001 commit 464ffa8
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,7 @@ module_handler_base::module_handler_base(QString module_path)
genv.insert("NODE_CHANNEL_SERIALIZATION_MODE", "json");
genv.insert("NODE_CHANNEL_FD", "3");

handles->startProcess(
"d:\\msys64\\clang64\\bin\\node.exe main.js", module_path.toStdString(), genv);
handles->startProcess("node.exe main.js", module_path.toStdString(), genv);
}

module_handler_base::~module_handler_base() { }
Expand Down

0 comments on commit 464ffa8

Please sign in to comment.