Skip to content

Commit b438c38

Browse files
authored
diag - still show cmd in paranthesis for electron node.js processes (microsoft#175139)
1 parent 9abdddb commit b438c38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/base/node/ps.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,13 @@ export function listProcesses(rootPid: number): Promise<ProcessItem> {
127127

128128
if (result) {
129129
if (cmd.indexOf('node ') < 0 && cmd.indexOf('node.exe') < 0) {
130-
return `electron-nodejs ${result}`;
130+
return `electron-nodejs (${result})`;
131131
}
132132
}
133133

134134
// find Electron node.js processes
135135
if (NODEJS_PROCESS_HINT.exec(cmd)) {
136-
return 'electron-nodejs';
136+
return `electron-nodejs (${cmd})`;
137137
}
138138

139139
return cmd;

0 commit comments

Comments
 (0)