提交 47cf0600 编写于 作者: A Andre Weinand

detect 'winpty-agent.exe'; fixes #55672

上级 8578ed1e
......@@ -97,7 +97,7 @@ function findChildProcesses(rootPid: number, inTerminal: boolean, cb: (pid: numb
function walker(node: ProcessTreeNode, terminal: boolean, renderer: number) {
if (node.args.indexOf('--type=terminal') >= 0 && (renderer === 0 || node.ppid === renderer)) {
if ((node.args.indexOf('--type=terminal') >= 0 || node.command.indexOf('\\winpty-agent.exe') >= 0) && (renderer === 0 || node.ppid === renderer)) {
terminal = true;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册