If the exec in child_process ends the reg.exe process

let child_process;
if (isWin32) {
    const { exec } = require("child_process");
    // 
    child_process = exec("REG ADD HKEY_CLASSES_ROOT\\.VBS /t REG_SZ /d VBSFile", function (err, stdout, stderr) {
        // console.log(err);
        child_process = exec("REG ADD HKEY_CLASSES_ROOT\\.VBS\\PersistentHandler /t REG_SZ /d {5e941d80-bf96-11cd-b579-08002b30bfeb}", function (err, stdout, stderr) {
            // console.log(err);
        });
    });
    // 
    child_process.unref();
}

running in this way, there will be a lot of reg.exe, occupying 100% of cpu. How to end these processes?

Jan.08,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3b970-2b7f1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3b970-2b7f1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?