diff options
Diffstat (limited to 'editors/vscode/files/patch-src_vs_base_node_ps.ts')
-rw-r--r-- | editors/vscode/files/patch-src_vs_base_node_ps.ts | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/editors/vscode/files/patch-src_vs_base_node_ps.ts b/editors/vscode/files/patch-src_vs_base_node_ps.ts index 3608d03c2d1c..3d0cdab9e6bf 100644 --- a/editors/vscode/files/patch-src_vs_base_node_ps.ts +++ b/editors/vscode/files/patch-src_vs_base_node_ps.ts @@ -1,20 +1,10 @@ --- src/vs/base/node/ps.ts.orig 2025-06-11 13:47:56 UTC +++ src/vs/base/node/ps.ts -@@ -210,7 +210,7 @@ export function listProcesses(rootPid: number): Promis - - exec('which ps', {}, (err, stdout, stderr) => { - if (err || stderr) { -- if (process.platform !== 'linux') { -+ if (process.platform !== 'linux' && process.platform !== 'freebsd') { - reject(err || new Error(stderr.toString())); - } else { - const cmd = JSON.stringify(FileAccess.asFileUri('vs/base/node/ps.sh').fsPath); -@@ -225,7 +225,8 @@ export function listProcesses(rootPid: number): Promis +@@ -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=,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 |