node in alpine container
prestop run npm stop error
$ npm stop
> nfb@1.0.0 stop
> egg-scripts stop --title=NFB
[egg-scripts] stopping egg application with --title=NFB
⚠️ RunScriptError: Run "sh -c ps -wweo "pid,args"" error, exit code 1
⚠️ Command Error, enable `DEBUG=common-bin` for detail
alpine buxybox, the ps command does not include the -wwe parameter.
$ ps --help
BusyBox v1.37.0 (2025-05-26 20:04:45 UTC) multi-call binary.
Usage: ps [-o COL1,COL2=HEADER] [-T]
Show list of processes
-o COL1,COL2=HEADER Select columns for display
-T Show threads
is it possible to detect and then decide which parameters to use when using the ps command?
node in alpine container
prestop run
npm stoperroralpine buxybox, the
pscommand does not include the-wweparameter.is it possible to detect and then decide which parameters to use when using the ps command?