blob: 3d0cdab9e6bf8e9a255170f804bef3a059635a38 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- src/vs/base/node/ps.ts.orig 2025-06-11 13:47:56 UTC
+++ src/vs/base/node/ps.ts
@@ -225,7 +225,7 @@ export function listProcesses(rootPid: number): Promis
}
} else {
const ps = stdout.toString().trim();
- const args = '-ax -o pid=,ppid=,pcpu=,pmem=,command=';
+ const args = '-ax -o pid= -o ppid= -o pcpu= -o pmem= -o command=';
// Set numeric locale to ensure '.' is used as the decimal separator
exec(`${ps} ${args}`, { maxBuffer: 1000 * 1024, env: { LC_NUMERIC: 'en_US.UTF-8' } }, (err, stdout, stderr) => {
|