Commit 77609be7c00 for nodejs

commit 77609be7c009420c71af0687a44bbfd35eb6ebf1
Author: Rafael Gonzaga <rafael.nunu@hotmail.com>
Date:   Fri Oct 16 10:24:14 2026 -0300

    benchmark: use process.execPath when pinning CPUs in run.js

    The taskset path used the node from PATH, not the running binary.

    Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com>
    PR-URL: https://github.com/nodejs/node/pull/66724
    Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>

diff --git a/benchmark/run.js b/benchmark/run.js
index 4948292437f..455ddc4f2df 100644
--- a/benchmark/run.js
+++ b/benchmark/run.js
@@ -56,7 +56,7 @@ function runBenchmark(filename) {
   const cpuCore = cli.getCpuCoreSetting();
   let child;
   if (cpuCore !== null) {
-    child = spawn('taskset', ['-c', cpuCore, 'node', scriptPath, ...args], {
+    child = spawn('taskset', ['-c', cpuCore, process.execPath, scriptPath, ...args], {
       stdio: ['inherit', 'inherit', 'inherit', 'ipc'],
     });
   } else {