From f9d7de4107fcebf54dbd37917b3a208507a234dc Mon Sep 17 00:00:00 2001 From: nAnderYang Date: Wed, 8 Apr 2026 10:14:12 +0800 Subject: [PATCH] findNodeProcess compatible bosybox ps command --- src/helper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helper.ts b/src/helper.ts index 7c57cdb..c263ff4 100644 --- a/src/helper.ts +++ b/src/helper.ts @@ -17,7 +17,7 @@ export async function findNodeProcess(filterFn?: FilterFunction): Promise/dev/null 2>&1 && ps --help 2>&1 | grep -q BusyBox && ps -o "pid,args" || ps -wweo "pid,args"'; const stdio = await runScript(command, { stdio: 'pipe' }); const processList = stdio.stdout!.toString().split('\n') .reduce((arr, line) => {