Closed
Description
Follow up from #154050
We now have sufficient infrastructure in place to easily fork a UtilityProcess
with support of message port communication to other processes:
Currently the PTY agent is still running as child process in the shared process housing all terminals:
vscode/src/vs/code/node/sharedProcess/sharedProcessMain.ts
Lines 386 to 399 in ed6bb07
We should consider moving the PTY agent out into a standalone utility process to reduce pressure on the shared process (and actually vice versa, reduce pressure on terminals).