mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-21 10:17:25 +00:00
I made a change this past iteration to use `CREATE_BREAKAWAY_FROM_JOB` in order to allow the code-server process to outlive SSH connections run from the exec server. However, it appears that this _can_ break things if it's run from a job that doesn't have the JOB_OBJECT_LIMIT_BREAKAWAY_OK flag set. I'm not a winapi expert, so this is a simple though perhaps inefficient change to probe whether we can do this via an echo command before starting the server.