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) => {