From 60df29243c049a8b3a568c12ea75acf2ebc9663b Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Sat, 7 May 2022 17:15:47 -0400 Subject: [PATCH] Sort of bug fix for pkill and process not found --- app/js/aether_native_app_v3.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/js/aether_native_app_v3.js b/app/js/aether_native_app_v3.js index 6929ceb..5df575a 100644 --- a/app/js/aether_native_app_v3.js +++ b/app/js/aether_native_app_v3.js @@ -476,7 +476,8 @@ exports.kill_processes = async function ({process_name = null}) { } child_process.exec(cmd, (err, stdout, stdin) => { - if (err) throw err; + // if (err) throw err; + if (err) console.log(err); console.log(stdout); }); console.log(`Killed processes matching ${process_name}`);